Last modified: 2013-05-04 05:52:10 UTC
Add bold and italic support to jqueryMsg.
This is referring to '''bold''' and ''italic''. There is a separate bug (bug 44525) about the HTML regression.
I don't know of a reasonable way to do this with the current jqueryMsg parsing model. Even for something simple like: '''bold text''' 'literal' (how regular text is processed) swallows the ending markup (making the whole literal "bold text'''"). Then, of course, the ending markup isn't available to close the bold. The real problem is that nothing backtracks through the literal later after the first attempt fails. Thus, after everything else fails, you end up with the whole thing ("'''bold text'''") being treated as a literal. Other parts of the code work around this deficiency by excluding various characters from normal text (e.g. angle brackets), but I don't think it's really workable to exclude single quote.