Ticket #38 (closed defect: duplicate)
filter_html breaks quote
| Reported by: | jonasnicklas@… | Owned by: | deveiant |
|---|---|---|---|
| Priority: | normal | Milestone: | |
| Component: | API | Version: | |
| Severity: | normal | Keywords: | |
| Cc: |
Description
When filter.html is used to filter away < and > the formatting of quotes doesn't work anymore, obviously because the > used to markup the code is converted to > before quotations are run.
This could be fixed by changing the regex. I tried to change it to a lookbehind like /(?<!.)>/ (all > except those that are the first character in a line) but that didn't seem to work. It could provide a hint as to how to do this. It could be changed to /.>/ but then care would have to be taken so that the character at the . is not replaced.
Change History
Note: See
TracTickets for help on using
tickets.
