hugo/tpl
Anthony Fok 724cc0ddff Add safeUrl; disable safeHtmlAttr; rename safeCSS to safeCss
- Add `safeUrl` template function (Fixes #347)
- Add TestSafeUrl() fashioned after @tatsushid great examples
- Disable `safeHtmlAttr` pending further discussions on its other
  use cases because `safeUrl` is a cleaner solution to #347.
  (There are also `safeJs` and `safeJsStr` that we could implement
  if there are legitimate demands for them.)
- Rename `safeCSS` to `safeCss` (to follow the convention of `safeHtml`)
- Add/expand documentation on `safeHtml`, `safeCss` and `safeUrl`
2015-01-19 23:41:22 -07:00
..
template.go Add safeUrl; disable safeHtmlAttr; rename safeCSS to safeCss 2015-01-19 23:41:22 -07:00
template_embedded.go Make RSS dates valid 2015-01-19 10:04:57 +01:00
template_test.go Add safeUrl; disable safeHtmlAttr; rename safeCSS to safeCss 2015-01-19 23:41:22 -07:00