lxzliuxinzhu / syntaxhighlighter

Automatically exported from code.google.com/p/syntaxhighlighter
GNU General Public License v3.0
0 stars 0 forks source link

Ruby in string variables parsed as comments #71

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
To reproduce
1. Use an in string variable, i.e. string = "this is a #{foo} bar"
2. Everything after the # is read as a comment

Preferably, the variable will be parsed and highlighted like any other variable

Tested with version 1.5.1 in Firefox

Original issue reported on code.google.com by aaron.fo...@gmail.com on 7 Apr 2008 at 3:53