Added `htmlescape` and `htmlunescape` template functions #2287

Merged
merged 1 commit into from Jul 18, 2016

Projects

None yet

2 participants

@cathalgarvey
Contributor

See #2286

@bep
Collaborator
bep commented Jul 18, 2016

Looks almost very good:

  1. The naming standard is camel casing, so it should be htmlEscape and htmlUnescape.
  2. Fix the commit message (add vs added)
@cathalgarvey cathalgarvey Add `htmlEscape` and `htmlUnescape` template functions
These functions allow trivial escaping and unescaping of HTML entities,
and make it far easier to compose other functions for the creation of
parameterised URLs.
871fd42
@cathalgarvey
Contributor

Sorry for that! Fixed, after some embarrassing rebase shenanigans.

@bep bep merged commit 20555b1 into spf13:master Jul 18, 2016

3 checks passed

continuous-integration/appveyor/pr AppVeyor build succeeded
Details
continuous-integration/wercker Wercker build passed
Details
licence/cla Contributor License Agreement is signed.
Details
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment