in reply to Re: losing html in print calling function.
in thread losing html in print calling function.
Remiah,
I knew that was clumsy, let me try again.
this is one of the calling print lines.
if (open(THE_FILE, $prestring . "WWM.txt")){print "<center><img border +=0 src=/article_separator.png><br><B>WWM: Windmills and Wind Motors. +1910.</B></center><br>";fn1();} else {print "<center><img border=0 sr +c=/article_separator.png><br><b>Windmills and Wind Motors, 1910,</b> +has no ATOCI.</b></center><br>"};
In the output, it does not render the center, the img, the line break, the bold. It does render the "WWM: Windmills and Wind Motors. 1910". Then no render of the nobold, the nocenter, the line break. It does render from the function print line html tags.
Back to testing... And thanks for responding.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^3: losing html in print calling function.
by LesleyB (Friar) on Nov 21, 2011 at 16:24 UTC | |
|
Re^3: losing html in print calling function.
by LesleyB (Friar) on Nov 21, 2011 at 16:48 UTC |