Opened 16 years ago
Closed 15 years ago
#9599 closed enhancement (wontfix)
Allow pre tags in comments
Reported by: |
|
Owned by: | |
---|---|---|---|
Milestone: | Priority: | lowest | |
Severity: | minor | Version: | 2.8 |
Component: | Comments | Keywords: | |
Focuses: | Cc: |
Description
Sometimes I want to add a code snippet in comments, but the pre
tag isn't allowed there. It will be pretty harmless, since we won't allow any attributes.
Attachments (1)
Change History (9)
#3
@
16 years ago
- Keywords needs-patch added; has-patch tested removed
correct. and it would only really make sense if its contents is htmlspecialchar'd afterwards.
#5
@
16 years ago
- Milestone changed from 2.8 to Future Release
Punting to be evaluated in next development cycle due to time constraints.
#8
@
15 years ago
- Keywords needs-patch close removed
- Milestone Future Release deleted
- Resolution set to wontfix
- Status changed from new to closed
You should use the <code>
tag for code snippets. Most themes style this with a monospace font and most code block styling plugins work off this tag too.
Don't see any other need for <pre>
tags in comments.
Note: See
TracTickets for help on using
tickets.
The pre tag could let a commenter "break out" of the page's layout though.