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

Unescape content for Material card #1642

Merged
merged 1 commit into from
Feb 4, 2016
Merged

Unescape content for Material card #1642

merged 1 commit into from
Feb 4, 2016

Conversation

j0k3r
Copy link
Member

@j0k3r j0k3r commented Feb 3, 2016

Using slice & striptags, the content is automatically escaped.
If some html character need to be displayed, they'll be escape too, sth like &.
Using |raw, the content isn't escape twice and is well displayed.

Fix #1426

I've also refactored a little the estimated time html to avoid to much duplicate code.

Using slice & striptags, the content is automatically escaped.
If some html character need to be displayed, they'll be escape too, sth like `&`.
Using |raw, the content isn't escape twice and is well displayed.
@j0k3r j0k3r added this to the 2.0.0-beta.1 milestone Feb 3, 2016
@j0k3r
Copy link
Member Author

j0k3r commented Feb 3, 2016

Shit, seems that Symfony 3.0.2 killed our test suite 😞

j0k3r added a commit that referenced this pull request Feb 4, 2016
Unescape content for Material card
@j0k3r j0k3r merged commit 27c837d into v2 Feb 4, 2016
@j0k3r j0k3r deleted the v2-escape-preview branch February 4, 2016 16:46
@modos189
Copy link
Contributor

modos189 commented Feb 4, 2016

👍

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

3 participants