You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When playing around with dancer to give mustache a quick look, I noticed a (small) error in the POD documentation. Line 98-100 in Mustache.pm says:
<body>
{{ content }}
</body>
When providing an index.mustache to the {{content}} (usual dancer way), this gets all escaped.
The mustache documentation (http://mustache.github.io/mustache.5.html) says:
All variables are HTML escaped by default. If you want to return unescaped HTML, use the triple
mustache: {{{name}}}.
I tried this in my layout file and the content (index.mustache) got properly displayed.
<body>
{{{ content }}}
</body>
a) is this intentional behaviour?
b) If, not ... is the proposed solution correct?
c) if so, do you want me to file a pull request for this?
Best,
VinceW
BTW: tnx 4 all ur efforts on Dancer.
The text was updated successfully, but these errors were encountered:
When playing around with dancer to give mustache a quick look, I noticed a (small) error in the POD documentation. Line 98-100 in Mustache.pm says:
When providing an index.mustache to the {{content}} (usual dancer way), this gets all escaped.
The mustache documentation (http://mustache.github.io/mustache.5.html) says:
All variables are HTML escaped by default. If you want to return unescaped HTML, use the triple
mustache: {{{name}}}.
I tried this in my layout file and the content (index.mustache) got properly displayed.
a) is this intentional behaviour?
b) If, not ... is the proposed solution correct?
c) if so, do you want me to file a pull request for this?
Best,
VinceW
BTW: tnx 4 all ur efforts on Dancer.
The text was updated successfully, but these errors were encountered: