jcberquist / commandbox-cfformat

A CommandBox module for formatting CFML component files.
MIT License
21 stars 10 forks source link

Issue when importing tag libraries #89

Closed donbellamy closed 3 years ago

donbellamy commented 3 years ago

When using this code:

<cfimport prefix="pbn" taglib="/pbn/tags/" />

<div class="back mb-1">
    <pbn:link-returnto href="xxx" text="xxx" />
</div>

I am receiving the following error:

<pbn> on line 4 does not match closing </div> on line 5.

jcberquist commented 3 years ago

This looks like an issue when running cfformat tag-check, correct? In any case, I have added some fixes for prefixed custom tags in v0.15.9 that should fix this. Thanks for reporting it.

donbellamy commented 3 years ago

Yes, when using tag-check. Thanks!