Tim asked me to write this mail some 10 hours ago. In a hurry, I didn't press the "send" button and just found this open edit window when returning home. So this is for documentation purposes only.
Regards,
jens ----------------------------------8<-------------------------- Hello,
due to some changes, doBlockLevels() is called after unstrip(). This results in some trouble with <nowiki>, esp.
<nowiki>* this is a line that starts with an asterisk</nowiki>
Yesterday's fix to this broke other things:
*this is <nowiki>rendered as a line with a star!</nowiki>
instead of a bulleted line. Other text completely disappeared. (SF BUG #964477)
I changed the code to insert the <nowiki> again when unstripping and call strip() a second time inside of doBlockLevels. The transclusion-strips will be unfolded, and <nowiki> is folded again.
This has two downsides: * illegal HTML-Tags are added (<nowiki> is still in the output) * it's not that efficient to call strip twice
This is a workaround to address the current bugs and should be looked at by someone with more than 20 minutes time.
Regards,
jeluf
wikitech-l@lists.wikimedia.org