#92 closed Defect (fixed)
enhance bbcode [code]
Reported by: | AndyK | Owned by: | Rytis |
---|---|---|---|
Priority: | Undetermined | Milestone: | Undetermined |
Component: | Web - Forums | Version: | |
Keywords: | forum bbcode | Cc: |
Description
- Every time a text with multiple lines is posted inside the [code]-tags it is displayed with double line spacing. Maybe due to an extra newline?
- give the [code] a maxwidth so that it wont break the thread display. With CSS like that:
<style type="text/css"> code { display:block; width:80%; margin:0 5em 0 5em; overflow:auto; white-space:pre; color:black; background-color:#e0e0e0; padding:1em; border:1px dashed #600000; font:normal normal normal 1em 1.2em "Courier New",courier,monospace; } </style>
Change History (4)
comment:1 Changed 18 years ago by
Status: | new → assigned |
---|
- Because of <br /> tags: each post gets <br /> tags added and then BBCode is processed. <br /> combined with a line feed creates a blank line. I tried to create a quick fix, but it seems that text transform functions need a complete rewrite.
- I'll add it when BBCode is working correctly.
comment:2 Changed 18 years ago by
Resolution: | → fixed |
---|---|
Status: | assigned → closed |
I thought of another way to do it, so it's fixed since [12442].
comment:3 Changed 18 years ago by
In [12442] it seems to me some of my css formatting comes in. ;-)
Thanks.
comment:4 Changed 18 years ago by
Keywords: | [code] removed |
---|
Note: See
TracTickets for help on using
tickets.