Ticket #38 (closed defect: duplicate)

Opened 3 years ago

Last modified 3 years ago

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 &gt; 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

Changed 3 years ago by anonymous

  • priority changed from high to normal
  • status changed from new to closed
  • resolution set to duplicate
  • severity changed from major to normal

I just saw that this has already been reported, sorry to post a duplicate, I did search, but didn't find a patch on this. Sorry to bother and keep up the good work!

Note: See TracTickets for help on using tickets.