Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Element 'nav' is not supported with html5 custom_definition #63

Open
sonicmolson opened this issue Jul 14, 2017 · 3 comments
Open

Element 'nav' is not supported with html5 custom_definition #63

sonicmolson opened this issue Jul 14, 2017 · 3 comments

Comments

@sonicmolson
Copy link

Using the default configuration using vendor publish, when I add "nav" to the default HTML.allowed setting, like so
'HTML.Allowed' => 'div,b,strong,i,em,u,a[href|title],ul,ol,li,p[style],br,span[style],img[width|height|alt|src],nav'1

I get the following error:
Element 'nav' is not supported
in HTMLDefinition.php (line 311)

I thought that the custom_definition should have resolved that. Is there something I have to do after to enable the HTML

I'm running mews/purfier 2.0.7 with htmlpurifer 4.8.0

@0x5459
Copy link

0x5459 commented Nov 9, 2017

I have the same problem!

@brucebnu
Copy link

yeah ! I have the same problem too!I need add "video" tags and something attributes.

@0x5459
Copy link

0x5459 commented Dec 10, 2017

@brucebnu #52 (comment)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants