10:19:08 AM - James_F: What does <li><p>Foo</p><p>Bar</p></li> convert into? 10:20:00 AM - arlolra: * Foo Bar 10:20:07 AM - James_F: Eww. 10:20:20 AM - arlolra: what do expect? 10:20:24 AM - arlolra: because 10:20:29 AM - arlolra: * Foo 10:20:30 AM - arlolra: Bar 10:20:58 AM - James_F: I /think/ the "standard" human-written wikitext for that would be "* Foo<p>Bar</p>" (which is terrible). 10:21:05 AM - arlolra: is going to parse to <ul><li>Foo</li></ul><p>Bar</p> right 10:21:14 AM - James_F: Or "* Foo<br/>Bar" which is worse. 10:21:17 AM - James_F: Yes. 10:21:25 AM - James_F: (Aka wikitext sucks.) 10:22:05 AM - arlolra: maybe our /\n/ -> " " is too naive 10:22:11 AM - James_F: Maybe? 10:22:35 AM - arlolra: ha
Description
Description
Related Objects
Related Objects
- Mentioned In
- T108357: Line breaks pasted as <br>s in Firefox
Event Timeline
Comment Actions
[subbu@earth lib] echo "*a<p>foo</p>" | node parse --normalize <ul> <li>a <p>foo</p> </li> </ul>
Comment Actions
When travelling on a bus with free wifi .. hard not to check email and respond to a few. ;-)