Description
Thet text/html formatter replaces all the spaces in the text contained in formatter.code() with non-breaking spaces, . This not only removes all the control on line wrapping from the style designer, but also makes the HTML larger and harder to read (an makes some tests fail).
Steps to reproduce
- Edit a page
- Insert some "test text", enclosed in triple curly braces.
- View the page's source.
Observe the offending .
Example
Some {{{test text
here.}}}
Some test text here.
Component selection
- formatter/text_html
Details
This Wiki
Workaround
Use formatter.rawHTML('<tt>') instead of formatter.code(...).
Discussion
This should really be achieved by adding this somewhere to the style sheets:
tt { white-space: pre }
Plan
- Priority:
- Assigned to:
- Status: