Topic: no_deprecated_attr
I'm a bit confused about no_deprecated_attr.
In the documentation, it says:
no_deprecated_attr
Allow deprecated attributes or transform them; see section 3.4.60 - allow ^
1 - transform, but name attributes for a and map are retained *
2 - transform
But in section 3.4.6, it says:
If $config["no_deprecated_attr"] is 0, then deprecated attributes (see appendix in section 5.2) are removed
So does 0 allow deprecated attributes or remove them?
My config array looks like this:
$config = array('safe' => 1, 'no_deprecated_attr' => 0);
but regardless of the value I assign to no_deprecated_attr, the underline tag <u> is getting transformed.
I tested this on the demo site by setting "safe" to 1 and "no_deprecated_attr" to all three possible values, and my test text (test <u>underline</u>) was always transformed.
Do I need to specify somewhere which elements not to transform?
The crux of my problem is that I want to use safe mode, but allow the <u> tag without transforming it. Is this possible?
Thank you for any assistance.
Nick,
Hotaru CMS