mirror of
https://github.com/MichMich/MagicMirror.git
synced 2025-06-27 11:50:00 +00:00
Merge pull request #1038 from roramirez/templates-fixes
This fix the follow things:
This commit is contained in:
commit
880a977dd6
@ -1,2 +1,5 @@
|
|||||||
<div class="small dimmed">HelloWorld module says:</div>
|
<!--
|
||||||
<div class="normal">{{text}}</div>
|
Use | striptags(true) for HTML rendering
|
||||||
|
https://mozilla.github.io/nunjucks/templating.html#striptags-value-preserve_linebreaks
|
||||||
|
-->
|
||||||
|
<div class="normal">{{text | striptags(true)}}</div>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user