Export to GitHub

trimpath - issue #8

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


Posted on Sep 3, 2007 by Quick Dog

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.

Comment #1

Posted on Dec 26, 2007 by Quick Giraffe

You cannot have a TEXTAREA tag inside another (i.e. nested). This is a limitation of HTML.

Comment #2

Posted on Aug 7, 2008 by Helpful Rabbit

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.

Status: New

Labels:
Type-Defect Priority-Medium