I thought it would be a nice feature to have this filter also modify existing abbr tags that are missing a title attribute.
For example:
<abbr>HTML</abbr>
would be converted to
<abbr title="HyperText Markup Language">HTML</abbr>
| Comment | File | Size | Author |
|---|---|---|---|
| #4 | abbrfilter-DRUPAL-6--1_regex_comment.patch | 1.04 KB | dboulet |
| #1 | abbrfilter-DRUPAL-6--1_769428_existing_abbr.patch | 1.3 KB | dboulet |
Comments
Comment #1
dboulet commentedThis patch adds the feature described above. It also re-formats the pattern to be more readable.
Comment #2
erykmynn commentedI incorporated this with the fix highlighted by your bug report.
http://drupal.org/cvs?commit=358192
Should be shortly as a beta release. Apologies for not writing your username in the correct place in the commit. Your patches and feedback were greatly appreciated!
Comment #3
dboulet commentedGreat, thanks erykmynn!
Comment #4
dboulet commentedOne little comment nitpick : ).
Comment #5
erykmynn commentedwill add next time around