I very like design and line numbers!
Think I've found critical bug that crash my php-code when i type without spaces like this:

for ($i=0;$i<count($terms);$i++) ..

http://itmages.ru/image/view/2534579/7bf2f744
it displays very bad, that is not my code:
http://itmages.ru/image/view/2534587/65bb94c5
When I add the spaces like this:
http://itmages.ru/image/view/2534591/f54ea55b
it displays my php correct as you can see:
http://itmages.ru/image/view/2534594/30f0dd60
Please let me know if I use it not correct? I often type my php in this method - without spaces..
more info: bueditor, my own text format Code that has only Syntax Highlighter filter.

Comments

tlito’s picture

Issue summary: View changes
fizk’s picture

Status: Active » Closed (works as designed)

This is an issue with the syntaxhighlighter Javascript, not this Drupal module. Specifically, it has an issue with <count($terms). If you put a whitespace after the less than sign, like < count($terms), it would work.

I've created a bug report in the syntaxhighlighter issue queue: https://github.com/syntaxhighlighter/syntaxhighlighter/issues/357

tlito’s picture

yes. thank you. i thaught the developer is one