View Single Post
Old 07-31-2006, 04:19 PM   #1
Shoshana
Senior Member
 
Shoshana's Avatar
 
Join Date: Jul 2006
Location: NY
Posts: 104
Shoshana is on a distinguished road
Send a message via AIM to Shoshana
Default linebreak ignored inside <pre>

there's a HTML odditity. That is, line break will be ignored inside
<pre> if the adjacent lines are tags.
see the source code and description here:

http://xahlee.org/js/linebreak_after_tag.html

if anyone know the spec for XML case, please let me know. Thanks.
Shoshana is offline   Reply With Quote