mirror of
https://github.com/wassname/side-by-side.git
synced 2026-09-12 12:51:22 +08:00
Don't escape meta html
This commit is contained in:
@@ -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")
|
||||
|
||||
@@ -45,6 +45,11 @@ body
|
||||
#content
|
||||
margin-top: 1em
|
||||
|
||||
#section-meta em
|
||||
margin-right: 10px
|
||||
&:after
|
||||
content: ": "
|
||||
|
||||
.version
|
||||
vertical-align: top
|
||||
display: inline-block
|
||||
|
||||
Reference in New Issue
Block a user