Posted by bforchhammer on March 26, 2008 at 12:05am
Jump to:
| Project: | Safe HTML |
| Version: | 5.x-1.2 |
| Component: | Code |
| Category: | support request |
| Priority: | minor |
| Assigned: | Unassigned |
| Status: | closed (won't fix) |
Issue Summary
I just tried to use some anchors (that's something like ) in my safehtml-filtered text-fields and safehtml stripped the name attribute which effectively renders the anchor useless.
A small adjustment to classes/selfhtml.php fixes this: in line 270 remove "name" from the $attributes array.
I don't know whether the "name"-attribute can possibly do anything bad to your site or not, so I'm not putting this as a feature request, but if anyone ever gets the same problem, here you go ;-)
Comments
#1
Module is abandoned and obsolete so I'm closing this issue now...