Fix advanced profile fields escaping

This commit is contained in:
Hypolite Petovan 2018-12-21 00:06:22 -05:00
parent c8b6778cde
commit 6b481aaac6
3 changed files with 33 additions and 34 deletions

View file

@ -93,28 +93,28 @@
{{if $profile.interest}} {{if $profile.interest}}
<dl id="aprofile-interest" class="aprofile"> <dl id="aprofile-interest" class="aprofile">
<dt>{{$profile.interest.0}}</dt> <dt>{{$profile.interest.0}}</dt>
<dd>{{$profile.interest.1}}</dd> <dd>{{$profile.interest.1 nofilter}}</dd>
</dl> </dl>
{{/if}} {{/if}}
{{if $profile.likes}} {{if $profile.likes}}
<dl id="aprofile-likes" class="aprofile"> <dl id="aprofile-likes" class="aprofile">
<dt>{{$profile.likes.0}}</dt> <dt>{{$profile.likes.0}}</dt>
<dd>{{$profile.likes.1}}</dd> <dd>{{$profile.likes.1 nofilter}}</dd>
</dl> </dl>
{{/if}} {{/if}}
{{if $profile.dislikes}} {{if $profile.dislikes}}
<dl id="aprofile-dislikes" class="aprofile"> <dl id="aprofile-dislikes" class="aprofile">
<dt>{{$profile.dislikes.0}}</dt> <dt>{{$profile.dislikes.0}}</dt>
<dd>{{$profile.dislikes.1}}</dd> <dd>{{$profile.dislikes.1 nofilter}}</dd>
</dl> </dl>
{{/if}} {{/if}}
{{if $profile.contact}} {{if $profile.contact}}
<dl id="aprofile-contact" class="aprofile"> <dl id="aprofile-contact" class="aprofile">
<dt>{{$profile.contact.0}}</dt> <dt>{{$profile.contact.0}}</dt>
<dd>{{$profile.contact.1}}</dd> <dd>{{$profile.contact.1 nofilter}}</dd>
</dl> </dl>
{{/if}} {{/if}}
@ -122,7 +122,7 @@
{{if $profile.music}} {{if $profile.music}}
<dl id="aprofile-music" class="aprofile"> <dl id="aprofile-music" class="aprofile">
<dt>{{$profile.music.0}}</dt> <dt>{{$profile.music.0}}</dt>
<dd>{{$profile.music.1}}</dd> <dd>{{$profile.music.1 nofilter}}</dd>
</dl> </dl>
{{/if}} {{/if}}
@ -130,7 +130,7 @@
{{if $profile.book}} {{if $profile.book}}
<dl id="aprofile-book" class="aprofile"> <dl id="aprofile-book" class="aprofile">
<dt>{{$profile.book.0}}</dt> <dt>{{$profile.book.0}}</dt>
<dd>{{$profile.book.1}}</dd> <dd>{{$profile.book.1 nofilter}}</dd>
</dl> </dl>
{{/if}} {{/if}}
@ -138,7 +138,7 @@
{{if $profile.tv}} {{if $profile.tv}}
<dl id="aprofile-tv" class="aprofile"> <dl id="aprofile-tv" class="aprofile">
<dt>{{$profile.tv.0}}</dt> <dt>{{$profile.tv.0}}</dt>
<dd>{{$profile.tv.1}}</dd> <dd>{{$profile.tv.1 nofilter}}</dd>
</dl> </dl>
{{/if}} {{/if}}
@ -146,7 +146,7 @@
{{if $profile.film}} {{if $profile.film}}
<dl id="aprofile-film" class="aprofile"> <dl id="aprofile-film" class="aprofile">
<dt>{{$profile.film.0}}</dt> <dt>{{$profile.film.0}}</dt>
<dd>{{$profile.film.1}}</dd> <dd>{{$profile.film.1 nofilter}}</dd>
</dl> </dl>
{{/if}} {{/if}}
@ -154,7 +154,7 @@
{{if $profile.romance}} {{if $profile.romance}}
<dl id="aprofile-romance" class="aprofile"> <dl id="aprofile-romance" class="aprofile">
<dt>{{$profile.romance.0}}</dt> <dt>{{$profile.romance.0}}</dt>
<dd>{{$profile.romance.1}}</dd> <dd>{{$profile.romance.1 nofilter}}</dd>
</dl> </dl>
{{/if}} {{/if}}
@ -162,14 +162,14 @@
{{if $profile.work}} {{if $profile.work}}
<dl id="aprofile-work" class="aprofile"> <dl id="aprofile-work" class="aprofile">
<dt>{{$profile.work.0}}</dt> <dt>{{$profile.work.0}}</dt>
<dd>{{$profile.work.1}}</dd> <dd>{{$profile.work.1 nofilter}}</dd>
</dl> </dl>
{{/if}} {{/if}}
{{if $profile.education}} {{if $profile.education}}
<dl id="aprofile-education" class="aprofile"> <dl id="aprofile-education" class="aprofile">
<dt>{{$profile.education.0}}</dt> <dt>{{$profile.education.0}}</dt>
<dd>{{$profile.education.1}}</dd> <dd>{{$profile.education.1 nofilter}}</dd>
</dl> </dl>
{{/if}} {{/if}}

View file

@ -133,7 +133,7 @@
<div id="aprofile-interest" class="col-lg-12 col-md-12 col-sm-12 col-xs-12 aprofile"> <div id="aprofile-interest" class="col-lg-12 col-md-12 col-sm-12 col-xs-12 aprofile">
<hr class="profile-separator"> <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-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> </div>
{{/if}} {{/if}}
@ -141,7 +141,7 @@
<div id="aprofile-likes" class="col-lg-12 col-md-12 col-sm-12 col-xs-12 aprofile"> <div id="aprofile-likes" class="col-lg-12 col-md-12 col-sm-12 col-xs-12 aprofile">
<hr class="profile-separator"> <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-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> </div>
{{/if}} {{/if}}
@ -149,7 +149,7 @@
<div id="aprofile-dislikes" class="col-lg-12 col-md-12 col-sm-12 col-xs-12 aprofile"> <div id="aprofile-dislikes" class="col-lg-12 col-md-12 col-sm-12 col-xs-12 aprofile">
<hr class="profile-separator"> <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-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> </div>
{{/if}} {{/if}}
@ -157,16 +157,15 @@
<div id="aprofile-contact" class="col-lg-12 col-md-12 col-sm-12 col-xs-12 aprofile"> <div id="aprofile-contact" class="col-lg-12 col-md-12 col-sm-12 col-xs-12 aprofile">
<hr class="profile-separator"> <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-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> </div>
{{/if}} {{/if}}
{{if $profile.music}} {{if $profile.music}}
<div id="aprofile-music" class="col-lg-12 col-md-12 col-sm-12 col-xs-12 aprofile"> <div id="aprofile-music" class="col-lg-12 col-md-12 col-sm-12 col-xs-12 aprofile">
<hr class="profile-separator"> <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-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> </div>
{{/if}} {{/if}}
@ -175,7 +174,7 @@
<div id="aprofile-book" class="col-lg-12 col-md-12 col-sm-12 col-xs-12 aprofile"> <div id="aprofile-book" class="col-lg-12 col-md-12 col-sm-12 col-xs-12 aprofile">
<hr class="profile-separator"> <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-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> </div>
{{/if}} {{/if}}
@ -184,7 +183,7 @@
<div id="aprofile-tv" class="col-lg-12 col-md-12 col-sm-12 col-xs-12 aprofile"> <div id="aprofile-tv" class="col-lg-12 col-md-12 col-sm-12 col-xs-12 aprofile">
<hr class="profile-separator"> <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-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> </div>
{{/if}} {{/if}}
@ -193,7 +192,7 @@
<div id="aprofile-film" class="col-lg-12 col-md-12 col-sm-12 col-xs-12 aprofile"> <div id="aprofile-film" class="col-lg-12 col-md-12 col-sm-12 col-xs-12 aprofile">
<hr class="profile-separator"> <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-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> </div>
{{/if}} {{/if}}
@ -202,7 +201,7 @@
<div id="aprofile-romance" class="col-lg-12 col-md-12 col-sm-12 col-xs-12 aprofile"> <div id="aprofile-romance" class="col-lg-12 col-md-12 col-sm-12 col-xs-12 aprofile">
<hr class="profile-separator"> <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-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> </div>
{{/if}} {{/if}}
@ -211,7 +210,7 @@
<div id="aprofile-work" class="col-lg-12 col-md-12 col-sm-12 col-xs-12 aprofile"> <div id="aprofile-work" class="col-lg-12 col-md-12 col-sm-12 col-xs-12 aprofile">
<hr class="profile-separator"> <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-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> </div>
{{/if}} {{/if}}
@ -219,7 +218,7 @@
<div id="aprofile-education" class="col-lg-12 col-md-12 col-sm-12 col-xs-12 aprofile"> <div id="aprofile-education" class="col-lg-12 col-md-12 col-sm-12 col-xs-12 aprofile">
<hr class="profile-separator"> <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-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> </div>
{{/if}} {{/if}}

View file

@ -98,28 +98,28 @@
{{if $profile.interest}} {{if $profile.interest}}
<dl id="aprofile-interest" class="aprofile"> <dl id="aprofile-interest" class="aprofile">
<dt>{{$profile.interest.0}}</dt> <dt>{{$profile.interest.0}}</dt>
<dd>{{$profile.interest.1}}</dd> <dd>{{$profile.interest.1 nofilter}}</dd>
</dl> </dl>
{{/if}} {{/if}}
{{if $profile.likes}} {{if $profile.likes}}
<dl id="aprofile-likes" class="aprofile"> <dl id="aprofile-likes" class="aprofile">
<dt>{{$profile.likes.0}}</dt> <dt>{{$profile.likes.0}}</dt>
<dd>{{$profile.likes.1}}</dd> <dd>{{$profile.likes.1 nofilter}}</dd>
</dl> </dl>
{{/if}} {{/if}}
{{if $profile.dislikes}} {{if $profile.dislikes}}
<dl id="aprofile-dislikes" class="aprofile"> <dl id="aprofile-dislikes" class="aprofile">
<dt>{{$profile.dislikes.0}}</dt> <dt>{{$profile.dislikes.0}}</dt>
<dd>{{$profile.dislikes.1}}</dd> <dd>{{$profile.dislikes.1 nofilter}}</dd>
</dl> </dl>
{{/if}} {{/if}}
{{if $profile.contact}} {{if $profile.contact}}
<dl id="aprofile-contact" class="aprofile"> <dl id="aprofile-contact" class="aprofile">
<dt>{{$profile.contact.0}}</dt> <dt>{{$profile.contact.0}}</dt>
<dd>{{$profile.contact.1}}</dd> <dd>{{$profile.contact.1 nofilter}}</dd>
</dl> </dl>
{{/if}} {{/if}}
@ -127,7 +127,7 @@
{{if $profile.music}} {{if $profile.music}}
<dl id="aprofile-music" class="aprofile"> <dl id="aprofile-music" class="aprofile">
<dt>{{$profile.music.0}}</dt> <dt>{{$profile.music.0}}</dt>
<dd>{{$profile.music.1}}</dd> <dd>{{$profile.music.1 nofilter}}</dd>
</dl> </dl>
{{/if}} {{/if}}
@ -135,7 +135,7 @@
{{if $profile.book}} {{if $profile.book}}
<dl id="aprofile-book" class="aprofile"> <dl id="aprofile-book" class="aprofile">
<dt>{{$profile.book.0}}</dt> <dt>{{$profile.book.0}}</dt>
<dd>{{$profile.book.1}}</dd> <dd>{{$profile.book.1 nofilter}}</dd>
</dl> </dl>
{{/if}} {{/if}}
@ -143,7 +143,7 @@
{{if $profile.tv}} {{if $profile.tv}}
<dl id="aprofile-tv" class="aprofile"> <dl id="aprofile-tv" class="aprofile">
<dt>{{$profile.tv.0}}</dt> <dt>{{$profile.tv.0}}</dt>
<dd>{{$profile.tv.1}}</dd> <dd>{{$profile.tv.1 nofilter}}</dd>
</dl> </dl>
{{/if}} {{/if}}
@ -151,7 +151,7 @@
{{if $profile.film}} {{if $profile.film}}
<dl id="aprofile-film" class="aprofile"> <dl id="aprofile-film" class="aprofile">
<dt>{{$profile.film.0}}</dt> <dt>{{$profile.film.0}}</dt>
<dd>{{$profile.film.1}}</dd> <dd>{{$profile.film.1 nofilter}}</dd>
</dl> </dl>
{{/if}} {{/if}}
@ -159,7 +159,7 @@
{{if $profile.romance}} {{if $profile.romance}}
<dl id="aprofile-romance" class="aprofile"> <dl id="aprofile-romance" class="aprofile">
<dt>{{$profile.romance.0}}</dt> <dt>{{$profile.romance.0}}</dt>
<dd>{{$profile.romance.1}}</dd> <dd>{{$profile.romance.1 nofilter}}</dd>
</dl> </dl>
{{/if}} {{/if}}
@ -167,14 +167,14 @@
{{if $profile.work}} {{if $profile.work}}
<dl id="aprofile-work" class="aprofile"> <dl id="aprofile-work" class="aprofile">
<dt>{{$profile.work.0}}</dt> <dt>{{$profile.work.0}}</dt>
<dd>{{$profile.work.1}}</dd> <dd>{{$profile.work.1 nofilter}}</dd>
</dl> </dl>
{{/if}} {{/if}}
{{if $profile.education}} {{if $profile.education}}
<dl id="aprofile-education" class="aprofile"> <dl id="aprofile-education" class="aprofile">
<dt>{{$profile.education.0}}</dt> <dt>{{$profile.education.0}}</dt>
<dd>{{$profile.education.1}}</dd> <dd>{{$profile.education.1 nofilter}}</dd>
</dl> </dl>
{{/if}} {{/if}}