Navigation Menu

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

[TwigBridge] fix fallback html-to-txt body converter #36995

Merged
merged 1 commit into from May 28, 2020

Conversation

nicolas-grekas
Copy link
Member

Q A
Branch? 4.4
Bug fix? yes
New feature? no
Deprecations? no
Tickets -
License MIT
Doc PR -

Right now, the content of the <head> and <style> are dumped as text. This fixes it.

Of course, use league/html-to-markdown if you need a better parser.

@fabpot
Copy link
Member

fabpot commented May 28, 2020

Thank you @nicolas-grekas.

@fabpot fabpot merged commit 96d2d19 into symfony:4.4 May 28, 2020
@nicolas-grekas nicolas-grekas deleted the twig-body-converter branch May 28, 2020 13:51
This was referenced May 31, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants