Page MenuHomePhabricator

Code block new lines
Closed, DeclinedPublic

Description

Author: Astronouth7303

Description:
I know that double newlines in code blocks are know included in the code, but double new
lines at the end of the code are included.

example:

  • blah, blah. some code: do_something_here();
  • the above line is included in the code.

As indicated, line 3 is included in the code block.


Version: 1.3.x
Severity: normal
URL: http://meta.wikimedia.org/wiki/Sandbox/641

Details

Reference
bz641

Revisions and Commits

Event Timeline

bzimport raised the priority of this task from to Medium.Nov 21 2014, 6:56 PM
bzimport added a project: MediaWiki-Parser.
bzimport set Reference to bz641.
bzimport added a subscriber: Unknown Object (MLST).

Assuming I understand the description of the problem, I can't reproduce it at
http://meta.wikimedia.org/wiki/Sandbox/641

Produced HTML is:
<ul>
<li>blah, blah. some code:</li>
</ul>
<pre>
do_something_here();
</pre>
<ul>
<li>the above line is included in the code.</li>
</ul>

which appears correct to me. Resolving as WORKSFORME.

epriestley added a commit: Unknown Object (Diffusion Commit).Mar 4 2015, 8:20 AM