bug or feature?

Ken Case kc at omnigroup.com
Tue Oct 6 15:41:14 PDT 1998


> The issue concerns multiline strings as values of hidden form
> inputs.  NN and MSIE both preserve the embedded \n characters so
> that if the element is later displayed in a <pre> or <textarea>
> context, the line breaks are preserved.  OmniWeb drops all
> newlines so that the string is handled as a single line.

We did this for compatibility with Netscape 2.0.  If more recent  
versions of Netscape have fixed this bug, I guess we can stop doing  
it.  (I was never very happy about doing it.)

(By the way, an easy way to work around this is to encode the  
newline as a character entity.)

				Ken



More information about the OmniWeb-l mailing list