ソースを参照

Preserve line formatting in word count error message

James Allen 10 年 前
親
コミット
9019b20d50
1 ファイル変更、1 行追加、1 行削除
  1. 1 1
      services/web/app/views/project/editor/left-menu.jade

+ 1 - 1
services/web/app/views/project/editor/left-menu.jade

@@ -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")} :