Last modified: 2011-03-13 18:05:51 UTC
* table '''user''' ''user_emailnotificationfornewpages TINYINT(1) NOT NULL default '0''' --> rendered incorrectly, example http://test.leuksman.com/index.php/User:Wikinaut/To-Do * wanted to have <b>user</b> <i>....'0'</i> * got <b>user ..... '0'</b>, i.e. everything bolded
(coorection in reply to comment #0) * table '''user''' ''user_emailnotificationfornewpages TINYINT(1) NOT NULL default '0''' --> rendered incorrectly, example http://test.leuksman.com/index.php/User:Wikinaut/To-Do * wanted to have <b>user</b> <i>....'0'</i> * got <b>user ..... '0</b>, i.e. everything bolded and one quote eaten up << corr
There's not really a clean way to interpret the provided code, which is ambiguous. At least several interpretations are possible; here I mark a non-markup visible apostrophe as @ to distinguish from markup: :normal '''bold@'' bold-italic ''bold @bold''' normal <- more greedy match, currently chosen by parser :normal '''bold''' normal ''italic @italic@'' normal <- less greedy match :normal '''bold''' normal ''italic @italic''' bold-italic... <- logical toggles An unambiguous version renders as desired: :normal '''bold''' normal ''italic 'italic' '' normal
(In reply to comment #2) > There's not really a clean way to interpret the provided code, which is ambiguous. At least several > interpretations are possible; here I mark a non-markup visible apostrophe as @ to distinguish from > markup: > > :normal '''bold@'' bold-italic ''bold @bold''' normal <- more greedy match, currently chosen by > parser ok. Thanks for this fine and concise clarification --> should find its way into the Mediawiki documentation pages at some time. Usually, I also add one ore more "spaces" (as on the example page, thx) (bugzilla should better be closed now, or wontfix)
Works as expected. Software can't distinguish three ticks from three ticks. Put a blank between end-of-string-tick and end-of-italics-double-tick.