Skip to content
Permalink
Browse files

Fix a typo: strip_slashes() -> strip_tags()

  • Loading branch information
bocharsky-bw committed Dec 16, 2019
1 parent e1d1930 commit 6dbaa02f76016e0c50617275b208fccbdaad57ff
Showing with 1 addition and 1 deletion.
  1. +1 −1 sfcasts/mailer/absolute-urls.md
@@ -75,7 +75,7 @@ a full URL.
Woh, and... our email *also* has a text part! How did that happen? In the controller,
we *only* called `htmlTemplate()` - we *removed* our call to the `text()` method.
Well... thank you Mailer. If you set the HTML on an email but do *not* explicitly
set the text, Symfony automatically adds it for you by calling `strip_slashes()`
set the text, Symfony automatically adds it for you by calling `strip_tags()`
on your HTML. That's *awesome*.

Well... awesome... but not *totally* perfect: it included all the styles on top!

0 comments on commit 6dbaa02

Please sign in to comment.
You can’t perform that action at this time.