Menu

#104 Incorrect highlight using apostophes

open
nobody
5
2012-02-06
2012-02-06
Matej
No

When using three apostrophes to declare string, adding one apostrophe inside the string will lead to incorrect highlight of the
rest of the code. It is possible to try it on Edit area full example, just add this line:

$test = ''' Test text with ' apostrophe inside''';

Or see attached screen.

Discussion

  • Matej

    Matej - 2012-02-06
     
  • Anonymous

    Anonymous - 2012-06-25

    HTML parsing - it shall not highlight apostophe outsite the tags, where is plain text:

    <a href='/home'>Go to Cristie's home</a>

     

Log in to post a comment.