layout.tt: support a title with HTML in it
By default, title is escaped. To support links in titles, support providing the title with HTML in it.
This commit is contained in:
parent
03323f6ef1
commit
f1343b3a4c
|
@ -81,7 +81,8 @@
|
||||||
|
|
||||||
[% IF !hideHeader %]
|
[% IF !hideHeader %]
|
||||||
<div class="page-header">
|
<div class="page-header">
|
||||||
[% IF c.user_exists && starUri; INCLUDE makeStar; " "; END; HTML.escape(title) %]
|
[% IF c.user_exists && starUri; INCLUDE makeStar; " "; END %]
|
||||||
|
[% IF titleHTML != ""; titleHTML; ELSE; HTML.escape(title); END %]
|
||||||
</div>
|
</div>
|
||||||
[% ELSE %]
|
[% ELSE %]
|
||||||
[% IF first %]<br />[% first = 0; END; %]
|
[% IF first %]<br />[% first = 0; END; %]
|
||||||
|
|
Loading…
Reference in a new issue