Is there any way to prevent this:
<P ALIGN="LEFT">The mass number of an atom is the number of protons plus the number of neutrons. You can write the symbol for an atom like this: <FONT COLOR="#0000FF"><A HREF="event:atomClick 1" TARGET=""><U>&lt;4/2 He&gt;</U></A> </FONT> .</P><P ALIGN="LEFT">The mass number is on top</P><P ALIGN="LEFT">The proton number is below</P><P ALIGN="LEFT" /><P ALIGN="LEFT">Complete the table:</P>

being rendered as this?:
<TEXTFORMAT LEADING="2"><P ALIGN="LEFT"><FONT FACE="Arial" SIZE="12" COLOR="#000000" LETTERSPACING="0" KERNING="0">The mass number of an atom is the number of protons plus the number of neutrons. You can write the symbol for an atom like this: <FONT COLOR="#0000FF"><A HREF="event:atomClick 1" TARGET=""><U>&lt;4/2 He&gt;</U></A> </FONT> .<FONT COLOR="#0000FF"></FONT></FONT></P></TEXTFORMAT><TEXTFORMAT LEADING="2"><P ALIGN="LEFT"><FONT FACE="Arial" SIZE="12" COLOR="#000000" LETTERSPACING="0" KERNING="0">The mass number is on top<FONT COLOR="#0000FF"></FONT></FONT></P></TEXTFORMAT><TEXTFORMAT LEADING="2"><P ALIGN="LEFT"><FONT FACE="Arial" SIZE="12" COLOR="#000000" LETTERSPACING="0" KERNING="0">The proton number is below<FONT COLOR="#0000FF"></FONT></FONT></P></TEXTFORMAT><TEXTFORMAT LEADING="2"><P ALIGN="LEFT"><FONT FACE="Arial" SIZE="12" COLOR="#000000" LETTERSPACING="0" KERNING="0">Complete the table:<FONT COLOR="#0000FF"></FONT></FONT></P></TEXTFORMAT>

In particular, I have no idea why empty <FONT COLOR="#0000FF"> tags are being added at the end of every paragraph, and why my empty paragraph <P ALIGN="LEFT" /> has been dropped altogether. I don't mind the extra textformat tags (and I can work around the empty font tags, although they're in the way), but dropping a paragraph is serious. More to the point, this is dynamic text entered by the user, so it needs to work *whatever* they enter.

(Oh, and in case you were wondering, yes, I do need to manually set the hyperlink to blue and underlined: it's not happening by itself and CSS didn't have any effect)

Danny
_______________________________________________
[email protected]
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com

Reply via email to