View Issue Details

IDProjectCategoryView StatusLast Update
0014043mantisbthtmlpublic2017-02-14 09:50
Reporterj_schultz Assigned To 
PrioritynormalSeverityminorReproducibilityalways
Status confirmedResolutionopen 
Product Version1.2.9 
Target VersionFixed in Version 
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.

Issue History

Date Modified Username Field Change
2012-03-13 16:50 j_schultz New Issue
2012-03-13 16:50 j_schultz Tag Attached: html
2012-03-13 16:50 j_schultz Tag Attached: List
2012-03-25 08:34 j_schultz Note Added: 0031521
2012-04-25 08:20 rombert Status new => confirmed
2017-02-14 09:50 j_schultz Note Added: 0055671