Closed (fixed)
Project:
Twitter
Version:
6.x-2.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
13 Nov 2008 at 06:40 UTC
Updated:
22 Apr 2009 at 06:40 UTC
Jump to comment: Most recent file
Comments
Comment #1
amedee-1 commentedThe same happens for #hashtags.
This is the only error that stops my site from completely validating as XHTML Transitional.
Comment #2
amedee-1 commentedI have compared the source of the stable release and the dev release, and I have seen no differences in the code for the filter functions. So this problem also exists in dev.
Comment #3
abraham commentedIt is caused by the regex in $matches[2] and $replacements[2] in twitter.module.
I'm not entirely sure what string it is trying to match but if you bump it to position 0 it fixes the issue.
Comment #4
sillygwailoPatched based on poseurtech's proposed fix attached.
Comment #5
totkoo commented#4 - Patch works for me! Thanks very much.
Comment #6
jaydub commentedworks here too.
Comment #7
eaton commentedCommitted. Thanks!