Preserve line formatting in word count error message

This commit is contained in:
James Allen 2016-09-14 11:21:00 +01:00
parent 53b3e3831d
commit 9019b20d50

View file

@ -200,7 +200,7 @@ script(type='text/ng-template', id='wordCountModalTemplate')
.row(ng-show='data.messages.length > 0')
.col-xs-12
.alert.alert-danger
p {{data.messages}}
p(style="white-space: pre-wrap") {{data.messages}}
.row
.col-xs-4
.pull-right #{translate("total_words")} :