slackero / phpwcms

Flexible, fast, powerful, customer, developer friendly web content management system and cms framework
http://www.phpwcms.org
GNU General Public License v2.0
92 stars 45 forks source link

RT-JavaScript mit einzeiligen //Kommentaren wird nicht korrekt geparst ... (V.1.8 ff) #168

Closed kukki15344 closed 8 years ago

kukki15344 commented 8 years ago

Bei einer Erweiterung mehrere Website ist mir aufgefallen, das Versionen ab V 1.8x den JavaScript-Code nicht krrekt parsen: Aus <!-- JS: //Kommentar zum Script --> wird <script src=" //Kommentar zum Script

In Versionen V 1.7x funktioniert das noch.

siehe auch hier: http://forum.phpwcms.org/viewtopic.php?f=16&t=24859

slackero commented 8 years ago

So sieht ein Kommentar aus <!-- Kommentar -->

q23 commented 8 years ago

wetten das bald kommt so funktionierts auch nicht ;) <!-- JS:<!-- Kommentar --> -->

ABER SO <!-- Kommentar --> <!-- JS: -->

slackero commented 8 years ago
  .-'---`-.
,'          `.
|             \
|              \
\           _  \
,\  _    ,'-,/-)\
( * \ \,' ,' ,'-)
 `._,)     -',-')
   \/         ''/
    )        / /
   /       ,'-'