Bug #36846
Consequent lines of preformatted text are displayed on one line, if they were seperated by soft line breaks
| Status: | Closed | Start date: | 2012-05-04 | |
|---|---|---|---|---|
| Priority: | Should have | Due date: | ||
| Assignee: | - | % Done: | 0% |
|
| Category: | [FOR] Markup | |||
| Target version: | Public Beta | |||
| Votes: | 0 |
Description
If there are multiple lines of preformatted text, which are seperated by soft line breaks, the website renders all these lines as one single line. They are no longer seperated by newlines (/n).
Example: The screenshot "Broken linebreaks..." shows how the original sxw document looks like. Note there are soft line breaks used (Shift+Enter). Here is the incorrect rendering on t3o.
The problem is not present where hard line breaks are used. See screenshot "Working linebreaks..." and this rendering on t3o.
Might be caused by #35278. Maybe the solution for this issue still needs an improvement.
Related issues
| follows The typo3.org project - Bug #35278: Beautify code blocks within the documentation | Resolved | 2012-03-27 |
History
Updated by Chris topher about 1 year ago
- File Working-linebreaks-doc_core_tsref.gif added
Updated by Tolleiv Nietsch about 1 year ago
- Category set to [FOR] Markup
- Status changed from New to Accepted
- Target version set to Public Beta
Updated by Tolleiv Nietsch about 1 year ago
pre.programlisting should keep using white-space:pre CSS rule
Updated by Boris Hinzer about 1 year ago
There is already a white-space: pre-wrap and also word-break: break-work inside the css.
Switching to white-space: pre makes the result worse, since it causes the content ignore the word-break. Content is running out of the pre.
Updated by Tolleiv Nietsch 5 months ago
- Status changed from Accepted to Closed
Rght but will be fixed with the switch to Rest and docs.typo3.org