View Issue Details

IDProjectCategoryView StatusLast Update
0014043mantisbthtmlpublic2017-02-14 09:50
Reporterj_schultz Assigned To 
PrioritynormalSeverityminorReproducibilityalways
Status confirmedResolutionopen 
Product Version1.2.9 
Summary0014043: HTML List Tags break because of newlines
Description

Using HTML list tags if there are newlines between the list tags: Consider this example.

<ul>
<li>Item 1</li>
<li>Item 2</li>
</ul>

It generates invalid HTML because <br /> elements are inserted between the list items.

Tagshtml, List

Activities

j_schultz

j_schultz

2012-03-25 08:34

reporter   ~0031521

The same issue can be seen in code tags as well, by the way. By default, code tags are displayed with white-space:pre; in browsers, so the additional line breaks inserted in the code tag break the formatting of code.

Example (may only work if code tags are allowed on this mantis setup)

<code>Line 1
Line 2</code>

j_schultz

j_schultz

2017-02-14 09:50

reporter   ~0055671

I guess this issue can be closed with the advent of Markdown support.