]> git.mxchange.org Git - friendica.git/commitdiff
Fix advanced profile fields escaping
authorHypolite Petovan <hypolite@mrpetovan.com>
Fri, 21 Dec 2018 05:06:22 +0000 (00:06 -0500)
committerHypolite Petovan <hypolite@mrpetovan.com>
Fri, 21 Dec 2018 05:06:22 +0000 (00:06 -0500)
view/templates/profile_advanced.tpl
view/theme/frio/templates/profile_advanced.tpl
view/theme/vier/templates/profile_advanced.tpl

index 3bc69dce469470336b02805b016151d5fdd3d6a9..83685d86e50b2da0813fbee33679e9b8f02f9ef6 100644 (file)
 {{if $profile.interest}}
 <dl id="aprofile-interest" class="aprofile">
  <dt>{{$profile.interest.0}}</dt>
- <dd>{{$profile.interest.1}}</dd>
+ <dd>{{$profile.interest.1 nofilter}}</dd>
 </dl>
 {{/if}}
 
 {{if $profile.likes}}
 <dl id="aprofile-likes" class="aprofile">
  <dt>{{$profile.likes.0}}</dt>
- <dd>{{$profile.likes.1}}</dd>
+ <dd>{{$profile.likes.1 nofilter}}</dd>
 </dl>
 {{/if}}
 
 {{if $profile.dislikes}}
 <dl id="aprofile-dislikes" class="aprofile">
  <dt>{{$profile.dislikes.0}}</dt>
- <dd>{{$profile.dislikes.1}}</dd>
+ <dd>{{$profile.dislikes.1 nofilter}}</dd>
 </dl>
 {{/if}}
 
 {{if $profile.contact}}
 <dl id="aprofile-contact" class="aprofile">
  <dt>{{$profile.contact.0}}</dt>
- <dd>{{$profile.contact.1}}</dd>
+ <dd>{{$profile.contact.1 nofilter}}</dd>
 </dl>
 {{/if}}
 
 {{if $profile.music}}
 <dl id="aprofile-music" class="aprofile">
  <dt>{{$profile.music.0}}</dt>
- <dd>{{$profile.music.1}}</dd>
+ <dd>{{$profile.music.1 nofilter}}</dd>
 </dl>
 {{/if}}
 
 {{if $profile.book}}
 <dl id="aprofile-book" class="aprofile">
  <dt>{{$profile.book.0}}</dt>
- <dd>{{$profile.book.1}}</dd>
+ <dd>{{$profile.book.1 nofilter}}</dd>
 </dl>
 {{/if}}
 
 {{if $profile.tv}}
 <dl id="aprofile-tv" class="aprofile">
  <dt>{{$profile.tv.0}}</dt>
- <dd>{{$profile.tv.1}}</dd>
+ <dd>{{$profile.tv.1 nofilter}}</dd>
 </dl>
 {{/if}}
 
 {{if $profile.film}}
 <dl id="aprofile-film" class="aprofile">
  <dt>{{$profile.film.0}}</dt>
- <dd>{{$profile.film.1}}</dd>
+ <dd>{{$profile.film.1 nofilter}}</dd>
 </dl>
 {{/if}}
 
 {{if $profile.romance}}
 <dl id="aprofile-romance" class="aprofile">
  <dt>{{$profile.romance.0}}</dt>
- <dd>{{$profile.romance.1}}</dd>
+ <dd>{{$profile.romance.1 nofilter}}</dd>
 </dl>
 {{/if}}
 
 {{if $profile.work}}
 <dl id="aprofile-work" class="aprofile">
  <dt>{{$profile.work.0}}</dt>
- <dd>{{$profile.work.1}}</dd>
+ <dd>{{$profile.work.1 nofilter}}</dd>
 </dl>
 {{/if}}
 
 {{if $profile.education}}
 <dl id="aprofile-education" class="aprofile">
  <dt>{{$profile.education.0}}</dt>
- <dd>{{$profile.education.1}}</dd>
+ <dd>{{$profile.education.1 nofilter}}</dd>
 </dl>
 {{/if}}
 
index 25311083156e20545f35d759787b1082539b69bf..a35955c1707ee15b6a6ed7e95968128214fad279 100644 (file)
                        <div id="aprofile-interest" class="col-lg-12 col-md-12 col-sm-12 col-xs-12 aprofile">
                                <hr class="profile-separator">
                                <div class="col-lg-4 col-md-4 col-sm-4 col-xs-12 profile-label-name text-muted">{{$profile.interest.0}}</div>
-                               <div class="col-lg-8 col-md-8 col-sm-8 col-xs-12 profile-entry">{{$profile.interest.1}}</div>
+                               <div class="col-lg-8 col-md-8 col-sm-8 col-xs-12 profile-entry">{{$profile.interest.1 nofilter}}</div>
                        </div>
                        {{/if}}
 
                        <div id="aprofile-likes" class="col-lg-12 col-md-12 col-sm-12 col-xs-12 aprofile">
                                <hr class="profile-separator">
                                <div class="col-lg-4 col-md-4 col-sm-4 col-xs-12 profile-label-name text-muted">{{$profile.likes.0}}</div>
-                               <div class="col-lg-8 col-md-8 col-sm-8 col-xs-12 profile-entry">{{$profile.likes.1}}</div>
+                               <div class="col-lg-8 col-md-8 col-sm-8 col-xs-12 profile-entry">{{$profile.likes.1 nofilter}}</div>
                        </div>
                        {{/if}}
 
                        <div id="aprofile-dislikes" class="col-lg-12 col-md-12 col-sm-12 col-xs-12 aprofile">
                                <hr class="profile-separator">
                                <div class="col-lg-4 col-md-4 col-sm-4 col-xs-12 profile-label-name text-muted">{{$profile.dislikes.0}}</div>
-                               <div class="col-lg-8 col-md-8 col-sm-8 col-xs-12 profile-entry">{{$profile.dislikes.1}}</div>
+                               <div class="col-lg-8 col-md-8 col-sm-8 col-xs-12 profile-entry">{{$profile.dislikes.1 nofilter}}</div>
                        </div>
                        {{/if}}
 
                        <div id="aprofile-contact" class="col-lg-12 col-md-12 col-sm-12 col-xs-12 aprofile">
                                <hr class="profile-separator">
                                <div class="col-lg-4 col-md-4 col-sm-4 col-xs-12 profile-label-name text-muted">{{$profile.contact.0}}</div>
-                               <div class="col-lg-8 col-md-8 col-sm-8 col-xs-12 profile-entry">{{$profile.contact.1}}</div>
+                               <div class="col-lg-8 col-md-8 col-sm-8 col-xs-12 profile-entry">{{$profile.contact.1 nofilter}}</div>
                        </div>
                        {{/if}}
 
-
                        {{if $profile.music}}
                        <div id="aprofile-music" class="col-lg-12 col-md-12 col-sm-12 col-xs-12 aprofile">
                                <hr class="profile-separator">
                                <div class="col-lg-4 col-md-4 col-sm-4 col-xs-12 profile-label-name text-muted">{{$profile.music.0}}</div>
-                               <div class="col-lg-8 col-md-8 col-sm-8 col-xs-12 profile-entry">{{$profile.music.1}}</div>
+                               <div class="col-lg-8 col-md-8 col-sm-8 col-xs-12 profile-entry">{{$profile.music.1 nofilter}}</div>
                        </div>
                        {{/if}}
 
                        <div id="aprofile-book" class="col-lg-12 col-md-12 col-sm-12 col-xs-12 aprofile">
                                <hr class="profile-separator">
                                <div class="col-lg-4 col-md-4 col-sm-4 col-xs-12 profile-label-name text-muted">{{$profile.book.0}}</div>
-                               <div class="col-lg-8 col-md-8 col-sm-8 col-xs-12 profile-entry">{{$profile.book.1}}</div>
+                               <div class="col-lg-8 col-md-8 col-sm-8 col-xs-12 profile-entry">{{$profile.book.1 nofilter}}</div>
                        </div>
                        {{/if}}
 
                        <div id="aprofile-tv" class="col-lg-12 col-md-12 col-sm-12 col-xs-12 aprofile">
                                <hr class="profile-separator">
                                <div class="col-lg-4 col-md-4 col-sm-4 col-xs-12 profile-label-name text-muted">{{$profile.tv.0}}</div>
-                               <div class="col-lg-8 col-md-8 col-sm-8 col-xs-12 profile-entry">{{$profile.tv.1}}</div>
+                               <div class="col-lg-8 col-md-8 col-sm-8 col-xs-12 profile-entry">{{$profile.tv.1 nofilter}}</div>
                        </div>
                        {{/if}}
 
                        <div id="aprofile-film" class="col-lg-12 col-md-12 col-sm-12 col-xs-12 aprofile">
                                <hr class="profile-separator">
                                <div class="col-lg-4 col-md-4 col-sm-4 col-xs-12 profile-label-name text-muted">{{$profile.film.0}}</div>
-                               <div class="col-lg-8 col-md-8 col-sm-8 col-xs-12 profile-entry">{{$profile.film.1}}</div>
+                               <div class="col-lg-8 col-md-8 col-sm-8 col-xs-12 profile-entry">{{$profile.film.1 nofilter}}</div>
                        </div>
                        {{/if}}
 
                        <div id="aprofile-romance" class="col-lg-12 col-md-12 col-sm-12 col-xs-12 aprofile">
                                <hr class="profile-separator">
                                <div class="col-lg-4 col-md-4 col-sm-4 col-xs-12 profile-label-name text-muted">{{$profile.romance.0}}</div>
-                               <div class="col-lg-8 col-md-8 col-sm-8 col-xs-12 profile-entry">{{$profile.romance.1}}</div>
+                               <div class="col-lg-8 col-md-8 col-sm-8 col-xs-12 profile-entry">{{$profile.romance.1 nofilter}}</div>
                        </div>
                        {{/if}}
 
                        <div id="aprofile-work" class="col-lg-12 col-md-12 col-sm-12 col-xs-12 aprofile">
                        <hr class="profile-separator">
                        <div class="col-lg-4 col-md-4 col-sm-4 col-xs-12 profile-label-name text-muted">{{$profile.work.0}}</div>
-                       <div class="col-lg-8 col-md-8 col-sm-8 col-xs-12 profile-entry">{{$profile.work.1}}</div>
+                       <div class="col-lg-8 col-md-8 col-sm-8 col-xs-12 profile-entry">{{$profile.work.1 nofilter}}</div>
                        </div>
                        {{/if}}
 
                        <div id="aprofile-education" class="col-lg-12 col-md-12 col-sm-12 col-xs-12 aprofile">
                                <hr class="profile-separator">
                                <div class="col-lg-4 col-md-4 col-sm-4 col-xs-12 profile-label-name text-muted">{{$profile.education.0}}</div>
-                               <div class="col-lg-8 col-md-8 col-sm-8 col-xs-12 profile-entry">{{$profile.education.1}}</div>
+                               <div class="col-lg-8 col-md-8 col-sm-8 col-xs-12 profile-entry">{{$profile.education.1 nofilter}}</div>
                        </div>
                        {{/if}}
 
index 28d42efe8db738892ce68a612de38ddebd3cc04d..20c4e84b137b24ebd41ae8b9a6a62f39909c4b87 100644 (file)
 {{if $profile.interest}}
 <dl id="aprofile-interest" class="aprofile">
  <dt>{{$profile.interest.0}}</dt>
- <dd>{{$profile.interest.1}}</dd>
+ <dd>{{$profile.interest.1 nofilter}}</dd>
 </dl>
 {{/if}}
 
 {{if $profile.likes}}
 <dl id="aprofile-likes" class="aprofile">
  <dt>{{$profile.likes.0}}</dt>
- <dd>{{$profile.likes.1}}</dd>
+ <dd>{{$profile.likes.1 nofilter}}</dd>
 </dl>
 {{/if}}
 
 {{if $profile.dislikes}}
 <dl id="aprofile-dislikes" class="aprofile">
  <dt>{{$profile.dislikes.0}}</dt>
- <dd>{{$profile.dislikes.1}}</dd>
+ <dd>{{$profile.dislikes.1 nofilter}}</dd>
 </dl>
 {{/if}}
 
 {{if $profile.contact}}
 <dl id="aprofile-contact" class="aprofile">
  <dt>{{$profile.contact.0}}</dt>
- <dd>{{$profile.contact.1}}</dd>
+ <dd>{{$profile.contact.1 nofilter}}</dd>
 </dl>
 {{/if}}
 
 {{if $profile.music}}
 <dl id="aprofile-music" class="aprofile">
  <dt>{{$profile.music.0}}</dt>
- <dd>{{$profile.music.1}}</dd>
+ <dd>{{$profile.music.1 nofilter}}</dd>
 </dl>
 {{/if}}
 
 {{if $profile.book}}
 <dl id="aprofile-book" class="aprofile">
  <dt>{{$profile.book.0}}</dt>
- <dd>{{$profile.book.1}}</dd>
+ <dd>{{$profile.book.1 nofilter}}</dd>
 </dl>
 {{/if}}
 
 {{if $profile.tv}}
 <dl id="aprofile-tv" class="aprofile">
  <dt>{{$profile.tv.0}}</dt>
- <dd>{{$profile.tv.1}}</dd>
+ <dd>{{$profile.tv.1 nofilter}}</dd>
 </dl>
 {{/if}}
 
 {{if $profile.film}}
 <dl id="aprofile-film" class="aprofile">
  <dt>{{$profile.film.0}}</dt>
- <dd>{{$profile.film.1}}</dd>
+ <dd>{{$profile.film.1 nofilter}}</dd>
 </dl>
 {{/if}}
 
 {{if $profile.romance}}
 <dl id="aprofile-romance" class="aprofile">
  <dt>{{$profile.romance.0}}</dt>
- <dd>{{$profile.romance.1}}</dd>
+ <dd>{{$profile.romance.1 nofilter}}</dd>
 </dl>
 {{/if}}
 
 {{if $profile.work}}
 <dl id="aprofile-work" class="aprofile">
  <dt>{{$profile.work.0}}</dt>
- <dd>{{$profile.work.1}}</dd>
+ <dd>{{$profile.work.1 nofilter}}</dd>
 </dl>
 {{/if}}
 
 {{if $profile.education}}
 <dl id="aprofile-education" class="aprofile">
  <dt>{{$profile.education.0}}</dt>
- <dd>{{$profile.education.1}}</dd>
+ <dd>{{$profile.education.1 nofilter}}</dd>
 </dl>
 {{/if}}