simonsteele / pn

Programmer's Notepad
372 stars 115 forks source link

Color template for PHP is rendering incorrectly #207

Open barrydit opened 2 years ago

barrydit commented 2 years ago

I tried to use a HEREDOC inside function parameters list, and found that though the code works in PHP, programmers notepad is unable to render the following text, and here after, correctly. I thought I'd leave a note with you on this in case it should happen to someone else.

image

veganaize commented 2 years ago

As a workaround, if you put the ); on its own line, below the closing identifier, then the syntax highlighting should work:

TEXT
);