diff options
author | blossommojekwu <30413259+blossommojekwu@users.noreply.github.com> | 2019-07-26 16:07:17 -0400 |
---|---|---|
committer | c-parsons <cparsons@google.com> | 2019-07-26 16:07:17 -0400 |
commit | 41c28e43dffbae39c52dd4b91932d1209e5a8893 (patch) | |
tree | 9541222a5299d46a2e241638bf7e005bd623f816 | |
parent | 2969f2f2486a67a47458b148e1631df47aa95593 (diff) | |
download | stardoc-41c28e43dffbae39c52dd4b91932d1209e5a8893.tar.gz |
Add angle bracket escape to vm templates (#212)
-rw-r--r-- | stardoc/templates/func.vm | 2 | ||||
-rw-r--r-- | stardoc/templates/provider.vm | 2 | ||||
-rw-r--r-- | stardoc/templates/rule.vm | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/stardoc/templates/func.vm b/stardoc/templates/func.vm index 9e54006..0f70f7a 100644 --- a/stardoc/templates/func.vm +++ b/stardoc/templates/func.vm @@ -6,7 +6,7 @@ ${util.funcSummary($funcInfo)} </pre> -${funcInfo.docString} +${util.htmlEscape($funcInfo.docString)} #if (!$funcInfo.getParameterList().isEmpty()) #[[###]]# Parameters diff --git a/stardoc/templates/provider.vm b/stardoc/templates/provider.vm index b53cccf..1d2f032 100644 --- a/stardoc/templates/provider.vm +++ b/stardoc/templates/provider.vm @@ -6,7 +6,7 @@ ${util.providerSummary($providerName, $providerInfo)} </pre> -${providerInfo.docString} +${util.htmlEscape($providerInfo.docString)} #if (!$providerInfo.fieldInfoList.isEmpty()) #[[###]]# Fields diff --git a/stardoc/templates/rule.vm b/stardoc/templates/rule.vm index 47d1269..06ff16f 100644 --- a/stardoc/templates/rule.vm +++ b/stardoc/templates/rule.vm @@ -6,7 +6,7 @@ ${util.ruleSummary($ruleName, $ruleInfo)} </pre> -${ruleInfo.docString} +${util.htmlEscape($ruleInfo.docString)} #[[###]]# Attributes |