Closed (duplicate)
Project:
Wordfilter
Version:
6.x-1.0
Component:
Code
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
19 Feb 2010 at 20:35 UTC
Updated:
2 Apr 2010 at 19:35 UTC
Hi,
I have a problem with Word Filter filtering links inside the text. Here's the explanation. Let's say I have the following code:
The whole phrase "I - Love Module - Word Filter" is meant to be link. If I have auto-link for "Module" in Word Filter database (eg linking to drupal.org), I get strange behaviour. "I - Love" is correctly linked to "http://www.example.com", "Module" is linked to drupal.org and the rest isn't linked at all.
Can you please explain me the logic behind this one so I can adapt or is it a bug?
Thank you in advance
Comments
Comment #1
jaydub commentedlion123 contacted me outside the issue queue. I think the issue here is that the replacement string in question is greater than the column length of the replacement field in the wordfilter table. That means that his|her replacement string is getting truncated in the DB resulting in the broken HTML. At least that's my theory.
I've asked lion123 to try with a replacement string verified to be less than 255 chars to make sure filtering works otherwise.
Comment #2
jaydub commentedduplicate of #664692