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

Fix custom definitions #80

Closed
wants to merge 2 commits into from
Closed

Fix custom definitions #80

wants to merge 2 commits into from

Conversation

zarianec
Copy link
Contributor

It looks like HTMLPurifier_Config::inherit($config) that used when creating purifier instance, doesn't use custom definitions from parent config object.

I changed it to use config object directly.

@zarianec
Copy link
Contributor Author

I found it isn't work as expected

@zarianec zarianec closed this Feb 16, 2018
@bhuvidya
Copy link

So you don't have any more clues? What you did looks right when comparing with other code such as https://github.com/kennberg/php-htmlpurfier-html5 - so it's baffling.

I really need HTML5 support, it's so frustrating.

@bhuvidya
Copy link

I have had a quick go at using https://github.com/xemlock/htmlpurifier-html5 and so far it works. It might be worth having a look at this code to see if it has any clues.

@zarianec
Copy link
Contributor Author

I will have a closer look on it this weekend.

@zarianec zarianec deleted the fix_custom_definitions branch February 17, 2018 16:25
@zarianec
Copy link
Contributor Author

@bhuvidya See this one please #82

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

Successfully merging this pull request may close these issues.

None yet

2 participants