Skip to content

Any CF tag inside comments breaks comment highlighting #125

@mkhoury80

Description

@mkhoury80

I just updated from version 0.18 to 0.23 because Atom was nagging me about it, and also because I kept seeing some oddities like all text changing from "red" as expected to "blue" in many instances where there was a tag with quoted hashtags inside of it ex. <cfset myvariable="http://#cgi.server_name#"> (from the > onward the rest of the page would then become all blue for some reason. (whether using cfset or cflocation or whatever, if the "value" was quoted, starting with http:// then just a variable then end quote with nothing between the final #"> then suddenly everything beyond that point is colored as if it is all quoted text)

Now, in version 0.23 I am seeing a new issue which was NOT present in 0.18; and that is that if ANY coldfusion tag -at all- is inside of CF comment tags, the entire page after the end comment tag appears as commented text...

Example:

<!---
<cfoutput>my output</cfoutput>
--->

any text down here, other functions, tags, doesn't matter, all becomes highlighted as if it is all commented out.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions