user-jackychan / trimpath

Automatically exported from code.google.com/p/trimpath
0 stars 0 forks source link

TrimPath Template:: Template string which is put into textarea can't include another textarea element #8

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Put your template string into textarea element
2. modify you template string to have another textarea element inside
3. Check it

example:

<textare id="myTemplate">
Hello ${Name}!
Your Message is <textare>${Message}</textarea>
</textarea>

What is the expected output? 

Hello Dimon!
Your Message is <textare>This is a test message for you</textarea>

What do you see instead?

Template processing stopped on the closing </textarea> element inside my
template.

What version of the product are you using? On what operating system?

1.0.38

Please provide any additional information below.

Original issue reported on code.google.com by ibuild.t...@gmail.com on 3 Sep 2007 at 10:54

GoogleCodeExporter commented 8 years ago
You cannot have a TEXTAREA tag inside another (i.e. nested). This is a 
limitation of 
HTML.

Original comment by gratemyl on 26 Dec 2007 at 5:05

GoogleCodeExporter commented 8 years ago
For those that run across this, you can put your template into a pre tag and add
textareas inside that.  Be aware though, there is a standing problem with having
markers inside of href attributes inside of pre tags, though.

Original comment by carl.h...@gmail.com on 7 Aug 2008 at 12:13