Incorrect String Highlighting
Status: Beta
Brought to you by:
fermads
Very nice work :)
I found this little bug while testing the demo - if I am in PHP mode and enter
randomstring('What\'s this?\'');
Then the syntax highlighting of the string is confused by the escaped quotes.
It would be nice if quotes added inside other quotes were automatically escaped, if that's feasible to do!
Logged In: YES
user_id=1871003
Originator: NO
this is a bug not a feature request.
i have a solution:
{ input : /\"([^"\\]*(\\.[^"\\]*)*)"/g, output : '<s>"$1"</s>' }, // strings double quote