fix #10873: Code editor breaks CSS comments

This commit is contained in:
Doug Bell 2009-09-02 17:41:41 -05:00
parent 7b15f13ffb
commit e502e777d2
2 changed files with 2 additions and 1 deletions

View file

@ -1,5 +1,6 @@
7.8.0
- fixed #10844: Ad Sales: No template variable Help
- fixed #10873: Code editor breaks CSS comments
7.7.19
- fixed #10838: Forwarded forum post email to new CS adds reply to original thread

View file

@ -83,7 +83,7 @@
{ code: /\'(.*?)(\'|<br>|<\/P>)/gi, tag: '<s>\'$1$2</s>' }, // strings single quote
{ code: /\b(alert|isNaN|parent|Array|parseFloat|parseInt|blur|clearTimeout|prompt|prototype|close|confirm|length|Date|location|Math|document|element|name|self|elements|setTimeout|navigator|status|String|escape|Number|submit|eval|Object|event|onblur|focus|onerror|onfocus|onclick|top|onload|toString|onunload|unescape|open|valueOf|window|onmouseover|innerHTML)\b/g, tag: '<u>$1</u>' }, // special words
{ code: /([^:]|^)\/\/(.*?)(<br|<\/P)/gi, tag: '$1<i>//$2</i>$3' }, // comments //
{ code: /\/\*(.*?)\*\//g, tag: '<i>/*$1* /</i>' } // comments / * */
{ code: /\/\*(.*?)\*\//g, tag: '<i>/*$1*/</i>' } // comments / * */
];
//End Borrowed Content