Page MenuHomePhabricator

Trying to 'indent' an input box breaks the formatting on the rest of the page.
Closed, ResolvedPublic

Description

Author: dan.bolser

Description:
For example, if I say something like:

START

: <inputbox> ... break = no </inputbox>

Some more text here.

END

The "Some more text here." is also indented by the ':'.

See the above page for an example.

I can't recreate this bug on the mediawiki website :(

On the above link I have "Checked out revision 34066".


Version: 1.13.x
Severity: major
URL: http://biodatabase.org/index.php/Talk:Main_Page

Details

Reference
bz13909

Event Timeline

bzimport raised the priority of this task from to Medium.Nov 21 2014, 10:08 PM
bzimport set Reference to bz13909.
bzimport added a subscriber: Unknown Object (MLST).

That's apparently parser error. It returns wrongly nested, thus invalid code.

The key of the problem is that it closes the </dd></dl> after opened <table> which causes those definition list closing tags are ignored (since table is opened) and thus everything remains indented.

I assume, that the problem is, that parser waits for the very first line break after the leading colon to close the <dd> element. And it in fact gets it pretty soon. I am not sure on which level, but either in wikitext there's line wrap right after <inputbox> or in HTML output it's after opening <table> of inputbox output.