[Wikitech-l] Preparser: Comments after === became a part of a header in xml representation

2014-08-18 Thread Nikolay Shaplov
When I do preparsing of the following text Some text ===!-- Comment written this way === And a new line after the end of the comment-- It gives me a level 1 header with = as a title (what is expected), but it also put a comment inside of h/h tags: rootSome text h level=1 i=1===commentlt;!--

Re: [Wikitech-l] Preparser: Comments after === became a part of a header in xml representation

2014-08-18 Thread Andre Klapper
Hi, On Mon, 2014-08-18 at 14:11 +0400, Nikolay Shaplov wrote: When I do preparsing of the following text [...] This quite a minor problem, but I think it worth reporting. Feel free to create a minor bug report in https://bugzilla.wikimedia.org under MediaWiki Parser. Thanks, andre --