Page MenuHomePhabricator

Cannot add pre box in list
Closed, DuplicatePublic

Description

There is no way to add a pre box in a list, nor indented

  • List item 1
  • List item 2

<pre>
Text in
pre box
</pre>

  • List item 3

returns 2 ul>li,li / pre / ul>li

http://www.mediawiki.org/wiki/User:Subfader/List_pre

The aim may not be proper HTML but should be possible, just like images in lists:

  • List item 1<br>[[File:Example.jpg]]

Version: unspecified
Severity: normal

Details

Reference
bz36205

Event Timeline

bzimport raised the priority of this task from to Low.Nov 22 2014, 12:21 AM
bzimport added a project: MediaWiki-Parser.
bzimport set Reference to bz36205.
bzimport added a subscriber: Unknown Object (MLST).

For reference, see https://www.mediawiki.org/wiki/Thread:Project:Support_desk/unexpected_formatting_with_PRE_and_OL

I think this behaviour would be somewhat difficult to change (saying that without looking at code) and there is a work around (of using html tag syntax)

Telling the user to use HTML syntax because the software is buggy is uncool.

More cool then telling users that its impossible to do something :P

I don't mean to say that if there is a patch it should be rejected, only that this is probably not the most important issue ever since it would be a lot of work to fix, doesn't affect a lot of people, and there is a way around for people who absolutely do need to get around it. So if someone does fix it, it'd be awesome, but at the same time it shouldn't be considered a high priority issue.