Don't escape meta html

This commit is contained in:
Vit Brunner
2015-04-21 20:46:58 +02:00
parent 90a9f5d90b
commit 070c73b277
2 changed files with 8 additions and 1 deletions
+3 -1
View File
@@ -22,7 +22,9 @@
.version-padded
.version-container.version-container-top
p
.text(ng-repeat="key in metaKeys") #[em {{key}}:] {{poemmeta[key]}}
.text(ng-repeat="key in metaKeys")
em(ng-bind-html="key")
span(ng-bind-html="poemmeta[key]")
.pure-g-r(du-scrollspy ng-href="#section-{{$index + 1}}" offset="100px" ng-repeat="verse in verses" id="section-{{$index + 1}}")
.version(ng-repeat="version in verse")
+5
View File
@@ -45,6 +45,11 @@ body
#content
margin-top: 1em
#section-meta em
margin-right: 10px
&:after
content: ": "
.version
vertical-align: top
display: inline-block