Last modified: 2012-12-21 13:46:25 UTC
When adding Text to the Edit-Area with '''Bold Text''' including a Newline in the Textarea formats all the Text after the Linebreak to the end of that Line as bold. Try the attached Text.
(In reply to comment #0) > Try the attached Text. > You didn't add an attachment.
Created attachment 6066 [details] This text return in unexpected result
Confirmed this bug on testwiki. A simple testcase would be: blah blah '''foo bar''' buggy buggy Instead of bolding "foo bar", this bolds "foo" and "buggy buggy".
With with [Newline Links] it's a strange result too
This was discussed with Lee on wikitech-l years ago. He had some nonsense justification about line-based parsers being simpler or something. However, there was a more reasonable justification (possibly suggested by the same man) which is that ending bold and italic sections at newlines stops them from running on indefinitely and spoiling a large page. You can find many examples of this behaviour being used on Wikipedia talk pages, where people start italic sections accidentally. It's also possible that there are articles which would be broken by a change in this area. I'll mark it LATER rather than WONTFIX since some day, in a few years' time, we might put syntax reform on the agenda. But any syntax changes will have to be carefully studied and widely announced. For now I'm mostly interested in consistency and backwards compatibility.
Still valid in 1.21wmf6 [Removing RESOLVED LATER as discussed in http://lists.wikimedia.org/pipermail/wikitech-l/2012-November/064240.html . Reopening and setting priority to "Lowest". For future reference, please use either RESOLVED WONTFIX (for issues that will not be fixed), or simply set lowest priority. Thanks a lot!]