![]() |
|
No such thing as a small change | |
PerlMonks |
Re^2: Paragraph breaks in textarea field only for preview page generated by CGI::Formbuilderby AJRod (Scribe) |
on Jun 15, 2004 at 00:51 UTC ( #366773=note: print w/replies, xml ) | Need Help?? |
Thank you for broadening my already becoming myopic focus on Formbuilder as the locus of the solution. Do you know of a way I can accomplish your suggestion using HTML::Template? I don't know enough of it yet but I'm willing to squeeze what time I have to learn from Template toolkit, though it will take a long time, and longer perhaps to advocate its use by our people at IT or even by other hosts. Not to mention that proposing it will rock the boat of designers here who are already familiar... correction... who have already sedentized their mindset into HTML template. Actually, I already made one attempt, at least, in the area of display logic. In the template, I used a <pre> tag to surround the field value. It preserved my data but its display differed from one browser to another, depending on whether they support the deprecated width property of <pre> or not. Does this confirm my growing realization that this and similar moves lead to a dead end as well? I know that this was not the solution you were suggesting, I was just musing on alternative rays of light which the erstwhile "forbidden" TT2 offers with its very tempting html_para_break() filter. (Musing also if this view is an excuse for my laziness.) Hoping these meditations are not yet too much for you. Tata.
In Section
Seekers of Perl Wisdom
|
|