dojo parser not escaping quotation marks in attributes?

Posted by peirix on Stack Overflow See other posts from Stack Overflow or by peirix
Published on 2010-04-08T08:02:20Z Indexed on 2010/04/08 8:23 UTC
Read the original article Hit count: 396

Filed under:
|

Whenever I'm using quotation marks inside an attribute value in dojo, it seems dojo's parser isn't handling it very well...

<textarea name="content.locale['en']" dojoType="dijit.form.SimpleTextarea">
</textarea>

Turns into:

<textarea ]="" en="" name="content.locale["></textarea>

With the surrounding <div>s and what not is added by the dijit widget.
Any ideas?

EDIT Seems this is working as it should with other elements, it's just the SimpleTextarea that's causing a problem..

© Stack Overflow or respective owner

Related posts about dojo

Related posts about parser