Last modified: 2006-06-22 15:26:18 UTC
When entering a section heading on the same line as text, it does not render as a heading, but rather as part of the paragraph, with "==" on each side of the text. This is a problem for a variety of things including bots and applicatios such as VandalProof, some of which rely on this feature for warning users about vandalism.
Could you create an example test page, please? I don't really understand what you're meaning.
This is an example http://sr.wikipedia.org/wiki/%D0%9A%D0%BE%D1%80%D0%B8%D1%81%D0%BD%D0%B8%D0%BA:%D0%A1%D0%B0%D1%88%D0%B0.%D0%A1%D1%82%D0%B5%D1%84%D0%B0%D0%BD%D0%BE%D0%B2%D0%B8%D1%9B/%D0%A2%D0%B5%D1%81%D1%825
Ah, I got it. So what's the problem? It's looking ugly, and users should put headings on a single line (my opinion).
Fix the bot so it adds a newline character at the end of section headings. This is part of the markup.
Yes, users should put headings on a their own line in most cases. However, for some uses, this is impossible to do, so it would be nice if headings rendered even when not on their own line.
How can it add a newline character?
\n or \n\r are the regexps for newlines.
Alright, I'll look into that. Thanks.
Sorry. "\n\r" is invalid. It should be "\r\n", the windows line breaking-chars. However, the wiki only uses "\n".
Alright. It's still a problem for VandalProof, though. Basically, if this bug takes 10 seconds to fix, then fix it, otherwise (if it's more difficult) we'll find a workaround.
Fix. Your. Third party. Application.
I sure hope that wasn't meant to be rude. But yes, I'm sure there's a workaround. It really wouldn't have been an issue in the first place, but it was working up until just before I started this bug report, and then mysteriuosly stopped working.