objectivehtml / language-expressionengine

MIT License
4 stars 3 forks source link

Coloring/Formatting Issues #1

Open tjdraper opened 9 years ago

tjdraper commented 9 years ago

There seems to be some coloring and formatting issues. Best way for me to illustrate is to provide pictures.

As you can see, it’s not recognizing all the parameters here. tag-issue

And if statements cause formatting issues throughout the rest of the document. if-issues

Here it is working properly with the if statement removed. if-issues-fixed

ghost commented 6 years ago

I'm having the same issue, mostly with the if statements. Seems to be a common issue across the other EE syntax highlighting plugins too.

ghost commented 6 years ago

Btw, I found a fix, on line 73, change 'end': '}$' to 'end': '(if)}$'. Haven't thoroughly tested, but doesn't seem to be causing any issues so far.