1
toolsmythe
HTML Block - Problem previewing when block contains HTML Comment
  • 2006/6/26 4:36

  • toolsmythe

  • Just popping in

  • Posts: 34

  • Since: 2004/11/27


This is more of an annoyance than an actual bug.

I have an HTML block on my site that contains some JavaScript. The JavaScript, of course, is surrounded by html comment tags to avoid issues with older browsers.

When I try to peview this module, instead of it rendering in a pop-up I get a whole bunch of spooge at the bottom of the edit panel:

");win.document.writeln("");win.document.writeln("");win.document.writeln("  ");win.document.writeln("  ");win.document.writeln(" ");win.document.writeln("

.
.
.

");win.document.writeln(""); win.focus(); win.document.close(); //-->


I can save it and it renders just fine in the actual block. I just can't preview it.

As I recall, this previewed just fine under 2.0.9. Currently running 2.0.13.2.

jp

Login

Who's Online

254 user(s) are online (85 user(s) are browsing Support Forums)


Members: 0


Guests: 254


more...

Donat-O-Meter

Stats
Goal: $100.00
Due Date: Nov 30
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $100.00
Make donations with PayPal!

Latest GitHub Commits