Postponed
Project:
Code Filter
Version:
7.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Issue tags:
Reporter:
Created:
21 Dec 2007 at 12:42 UTC
Updated:
22 Dec 2012 at 18:26 UTC
There is problem with urls in <code> when they are on the end of line.
Example:
This link has one empty space on end of line: http://drupal.org
This link is on end of line: http://drupal.org
First word on this line and <br> is added to link
Comments
Comment #1
dwwHrm, yeah, weird. I can't reproduce this on a local test site, so it indeed seems like it belongs here in the webmasters queue, not in the codefilter queue. Haven't looked any deeper than that, but I wanted to add this data point.
Comment #2
johnalbinThis is caused by the order of the filters in “Filtered HTML” input format on d.o.
I can reproduce the bug if I configure my test site with a copy of d.o.’s Filtered HTML input format. Also, if codefilter is placed first, the problem disappears.
However, there are so many edge cases with input filtering ordering, I don’t want to re-create issues that may have already been fixed. Especially since I wasn’t around when the original filter order was made. But from my meager testing, codefilter seems to work best when it’s first.
I definitely need to create some unit tests for codefilter. :-/
Comment #3
avpadernoI still get the same effect as reported before.
Is this an issue with Code filter, or does Drupal.org need to update the installed version of the module?
Comment #4
avpadernoI am moving the report to the queue of the project handling such filter.
Comment #5
cameron tod commentedI have implemented basic unit tests for Code Filter but I need to make some that deal with filter ordering as it's an issue that comes up and again and again.