summaryrefslogtreecommitdiffhomepage
path: root/documentation
diff options
context:
space:
mode:
authorJo-Philipp Wich <jo@mein.io>2019-02-12 08:28:21 +0100
committerJo-Philipp Wich <jo@mein.io>2019-02-12 08:31:08 +0100
commit4141243762aafb7960d67f871c97907307005f87 (patch)
treeccf4ae22fec68cc96324a45ab445936c573217b9 /documentation
parent83df3eb6c7678a5988bc8c9942e9892a24ab6967 (diff)
luci-base: dispatcher: support raw values in attr() and ifattr()
Extend the attr() and ifattr() template functions to take an optional further parameter indicating that the passed value should not be escaped. This is needed for cases where the input already is escaped through other means, e.g. when the value was previously filtered through the striptags() template helper. Signed-off-by: Jo-Philipp Wich <jo@mein.io>
Diffstat (limited to 'documentation')
0 files changed, 0 insertions, 0 deletions