|Notify me of new responses|
When I invoke
ns_quotehtmlwithin an HTML form
textareatag, all is well. When I invoke it outside a form tag, I lose all of the line-breaks. As a result, template-view.tcl displays a long string that's incomprehensible. How can I get the lines to break?
-- David Sirkin, November 1, 1999
ns_quotehtml changes special html characters into their quoted versions. It does not "format" line breaks into the string. Perhaps you should consider <pre></pre> which tells the browser to not interpret the formatting of the text between the tags.
-- Jesse Koontz, November 1, 1999