mirror of
https://github.com/MichMich/MagicMirror.git
synced 2025-08-21 12:55:22 +00:00
Merge pull request #1038 from roramirez/templates-fixes
This fix the follow things:
This commit is contained in:
@@ -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>
|
||||
|
Reference in New Issue
Block a user