In order to enable anchors in the format of I had to remove the '!' from the 'href' attribute.
It took me some time and efforts to figure that out.
Do we really need 'href' to be "required" by default?
In order to enable anchors in the format of I had to remove the '!' from the 'href' attribute.
It took me some time and efforts to figure that out.
Do we really need 'href' to be "required" by default?
Comments
Comment #1
israelshmueli commentedComment #2
israelshmueli commentedwell, actually meant to be read :
" In order to enable anchors in the format of
<a name="someName>I had to remove the '!' from the 'href' attribute..."Comment #3
markus_petrux commentedThe default does not allow you to use that syntax, so you need to change the default anyway. Then... the syntax is not easy, but that's another business. It wants to be like the valid_elements option of TinyMCE, and there's a lot of information about it in the settings form itself, or in the TinyMCE wiki.
[EDIT] You can use different defaults adding $conf entries in settings.php
Comment #4
israelshmueli commentedThank you for the settings.php $conf reference.
In my current situation I use the filter with trusted users and would like to be able to add embed to a custom list of valid elements.
Can I also use $conf to remove embed from blacklist ?
Comment #5
markus_petrux commentedNope, the black list is hardcoded. The EMBED element is too complex to validate here. There are other filters with such a feature, I think, or... if you deal with trusted users, then perhaps no need to filter their input.