#361 ✓wontfix
stevo84

Problem with "<" in javascript interpreted as tag start

Reported by stevo84 | January 5th, 2009 @ 10:39 AM

Sometimes you would like to use relation operator in your javascript, i.e.

Unfortunately DRYML will interpret it as start of a tag and throw an error. The usual solution is to wrap the javascript in erb string, i.e.

...however if it is not hard to handle, it would be really useful.

Comments and changes to this ticket

  • Tom Locke

    Tom Locke January 6th, 2009 @ 04:51 PM

    • State changed from “new” to “wontfix”

    You need to put the script in a CDATA section.

    But really, it's much better to keep the script in a separate JS file.

Please Sign in or create a free account to add a new ticket.

With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.

New-ticket Create new ticket

Create your profile

Help contribute to this project by taking a few moments to create your personal profile. Create your profile »

People watching this ticket

Pages