s:raw #
Use s:raw when you need verbatim inner content. Sugar skips parsing directives and special tags inside the node body.
s:raw is supported on attribute-bearing template nodes (elements, fragments, and components).
<code s:raw>
<s-template s:if="$debug">literal</s-template>
{{ untouched_token }}
</code>
Notes:
-
s:rawapplies to children, not to the outer node itself. -
The
s:rawattribute is not rendered in final HTML.