Make Wiki parser NOT insert <br /> tags for each newline
- Status
- Closed
- Subject
- Make Wiki parser NOT insert <br /> tags for each newline
- Category
- Usability
- Feature
- Wiki (page view, edit, history, rename, etc)
- Resolution status
- Out of Date
- Submitted by
- Arne
- Volunteered to solve
- bertrand Gugger
- Lastmod by
- bertrand Gugger
- Rating
- Description
The wiki parser inserts <br /> tags for each newline in the source text.
This produces a lot of vertical spacing in the rendered text, and is impossible to remove before, e.g. terms in definition lists, headings etc., whose wiki source text must start in the first column. Using the <br /> tag between paragraphs of text is also logically incorrect; <p>...</p> should be used for that.
Suggested solutions:- Let 1 newline produce no HTML tags in output,
Let 2 newlines produce a new paragraph (<p>) in output
Devise new wiki syntax to let authors manually insert vertical spacing - Let n newlines produce n-1 <br /> tags in output.
The latter solution seems simple, but does strictly speaking not produce the logically correct HTML output where paragraphs are delimited by <p>...</p> tags.
NOTE: This is not a CSS styling problem!- Let 1 newline produce no HTML tags in output,
- Importance
- 7
- Priority
- 35
- Demonstrate Bug on Tiki 19+
-
This bug has been demonstrated on show2.tiki.org
Please demonstrate your bug on show2.tiki.org
Show.tiki.org is not configured properlyThe public/private keys configured to connect to show2.tiki.org were not accepted. Please make sure you are using RSA keys. Thanks.
- Demonstrate Bug (older Tiki versions)
-
This bug has been demonstrated on show.tikiwiki.org
Please demonstrate your bug on show.tikiwiki.org
Show.tiki.org is not configured properlyThe public/private keys configured to connect to show.tikiwiki.org were not accepted. Please make sure you are using RSA keys. Thanks.
- Ticket ID
- 323
- Created
- Tuesday 26 July, 2005 07:33:22 UTC
by Unknown - LastModif
- Tuesday 11 October, 2005 14:06:04 UTC