]> git.mxchange.org Git - friendica-addons.git/commitdiff
[various] Add exceptions to Smarty default escaping
authorHypolite Petovan <hypolite@mrpetovan.com>
Sat, 15 Dec 2018 10:04:20 +0000 (05:04 -0500)
committerHypolite Petovan <hypolite@mrpetovan.com>
Sat, 15 Dec 2018 10:04:20 +0000 (05:04 -0500)
advancedcontentfilter/templates/settings.tpl
forumdirectory/templates/forumdirectory_item.tpl
mailstream/templates/mail.tpl
mathjax/templates/settings.tpl

index a04baf7de5ee8c157fc126e3029afe0fa13936d8..9ae56c3b4080dbd2256555595e93b09e5a3443e6 100644 (file)
@@ -3,7 +3,7 @@
        <div id="rules"></div>
 
        <script>
-               var existingRules = {{$rules}};
+               var existingRules = {{$rules nofilter}};
 
                var messages = {
        {{foreach $messages as $key => $value}}
index 61b165d71cf695e8992fe341c6d82d50700e3360..5ffa6405b8906eac53e58c7c54f51fb3489076db 100644 (file)
@@ -36,7 +36,7 @@
                        </div>
                </div>
                <div class="forumdirectory-copy-wrapper" id="forumdirectory-copy-wrapper-{{$id}}" >
-                       {{if $about}}<dl class="forumdirectory-copy"><dt class="forumdirectory-copy-label">{{$about}}</dt><dd class="forumdirectory-copy-data">{{$profile.about}}</dd></dl>{{/if}}
+                       {{if $about}}<dl class="forumdirectory-copy"><dt class="forumdirectory-copy-label">{{$about}}</dt><dd class="forumdirectory-copy-data">{{$profile.about nofilter}}</dd></dl>{{/if}}
                </div>
        </div>
 </div>
index a36729cef92e4f81d8e5f7007b89dbea60ea37ed..526ca4ef5267080531e4f7729fefb1e99b91a219 100644 (file)
@@ -3,7 +3,7 @@
  *     DO NOT EDIT THIS FILE, CHANGES WILL BE OVERWRITTEN
  *
  *}}
-<div class="mailstream-item-body">{{$item.body}}</div>
+<div class="mailstream-item-body">{{$item.body nofilter}}</div>
 {{if $item.plink}}
 <div>{{$upstream}}: <a class="mailstream-item-plink" href="{{$item.plink}}">{{$item.plink}}</a><div>
 <div>{{$local}}: <a class="mailstream-item-url" href="{{$item.url}}">{{$item.url}}</a></div>
index 98bdb85eddb47a335bf041503ad849138399b89e..e26e5a2b9db8a1085665fa1df2e82d04b0b3fc6a 100644 (file)
@@ -6,7 +6,7 @@
        <span class="fakelink" onclick="openClose('settings_mathjax_expanded'); openClose('settings_mathjax_inflated');">
                <h3>{{$title}}</h3>
        </span>
-       <p>{{$description}}</p>
+       <p>{{$description nofilter}}</p>
        {{include file="field_checkbox.tpl" field=$mathjax_use}}
        <div class="clear"></div>