Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Using {{html markup}} within a textarea where markup is an HTML string introduces _tmplitem attributes #46

Closed
GeoffreyBooth opened this issue Jan 12, 2011 · 2 comments

Comments

@GeoffreyBooth
Copy link

For a template like:
<textarea>{{html markup}}</textarea>

where markup is an HTML string, attributes of _tmplitem will be added to each tag in markup.

See http://jsfiddle.net/DiegeticShadow/zLCcR/

@julesbou
Copy link

i'm having the same problem:

here is a simple testcase => http://jsfiddle.net/wH5Kb/ (look at _tmplitem="1" in the textarea)

Is there any workaround ? or maybe i'm missing something ..
anyway thank you!

@BorisMoore
Copy link
Owner

You need to escape the content of the text area. &lt;b>Welcome
Or at least the first <, as shown.

There is no automatic detection of textareas, so no built-in handling of this issue.

See also #42

Closing...

This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants