Opened 6 years ago

Closed 6 years ago

# Wiki Formatting new line does not work with test cases

Reported by: Owned by: danimand Roberto Longobardi normal TestManagerForTracPlugin normal 1.0

### Description

The test case does not comply to the standard Trac ticket formatting in all cases.

For example, it ignores new lines and [BR] must be used to force them:

### Changed 6 years ago by danimand

trac ticket vs TM test case formatting

### comment:2 Changed 6 years ago by Roberto Longobardi

Resolution: → invalid new → closed

This problem is not related ot the Test Manager plugin, in which the test cases are just wiki pages.

The same problem, in fact, can be found by creating a new Wiki page.

The problem is not found with tickets because carriage returns are automatically converted into "<br />"s.

I don't know why the same was not done for wiki pages.

You can see this by examining the HTML generated for ticket description as opposed to that generated for wiki pages, using the same text.

### comment:3 Changed 6 years ago by Ryan J Ollos

I've also wondered why the behavior differs for tickets and wiki pages. Ticket templates have the parameter escape_newlines=preserve_newlines in the call to wiki_to_html (see here and here).

### comment:4 Changed 4 years ago by Ryan J Ollos

Keywords: wiki formatting new line test case removed

### Modify Ticket

Change Properties