Remove an empty string "" from the second statement. Is it also expected?
Well, it seems inconsistant, but it's not really unexpected. Without the
empty string both hard returns are appended to the end of the previous line,
which isn't technically correct, but makes sense in context. With the empty
string there is an empty line (your new line), so a line feed is used to go
to the next line. Hard return ends a span of text by breaking to the next
line. Line feed passes over an empty line without moving the cursor, which
is why a hard return (a.k.a. a "carriage return") is needed at the end of a
span of text. It's old-school logic based on how it would render on paper.
If you used a line feed without a carriage return, the "proper" way to
render it would be to move down one line without moving to the first column.
Without the empty string, though, there is no new line to pass over, so the
html kluge is to simply hard return again.
ryanm
_______________________________________________
Flashcoders@chattyfig.figleaf.com
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