Last modified: 2014-10-16 13:56:36 UTC
Created attachment 12211 [details] Screenshot of LQT thread with </div> in title Should be treated the same as regular page titles: Escape everything. Or, if we want to keep wikitext parsing (e.g. for wikilinks, sometimes done in section headings), then parse as inline block (not allowing any block level elements like <div> or <table>) and make sure open/close tags match (run Tidy).
@Krenair: You change the summary to include "with wgUseTidy = true;" Are you saying that when Tidy is disabled this bug does not happen? Seems more like the opposite?
(In reply to comment #1) > @Krenair: You change the summary to include "with wgUseTidy = true;" Are you > saying that when Tidy is disabled this bug does not happen? Yes. I have to add that to my configuration to replicate this bug.
This is one of the many places with poor or inconsistent escaping in LQT.
A similar problem in a topic named "Handling <pre><ref></pre> with trailing slash does not work correctly": https://www.mediawiki.org/wiki/Thread:VisualEditor/Feedback/Handling_ref_with_trailing_slash_does_not_work_correctly