Skip to content

Commit

Permalink
Fix a typo: strip_slashes() -> strip_tags()
Browse files Browse the repository at this point in the history
  • Loading branch information
bocharsky-bw committed Dec 16, 2019
1 parent e1d1930 commit 6dbaa02
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sfcasts/mailer/absolute-urls.md
Expand Up @@ -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!
Expand Down

0 comments on commit 6dbaa02

Please sign in to comment.