Show html text in motion and users detail view correctly.

Remove white-space-pre-line css class.
This commit is contained in:
Emanuel Schuetze 2016-02-03 21:04:46 +01:00
parent 6997e49851
commit f944efaf76
2 changed files with 3 additions and 3 deletions

View File

@ -195,12 +195,12 @@
<div class="row"> <div class="row">
<div class="col-sm-8"> <div class="col-sm-8">
<h3 translate>Text</h3> <h3 translate>Text</h3>
<div class="white-space-pre-line" ng-bind-html="motion.getText(version)"></div> <div ng-bind-html="motion.getText(version)"></div>
<!-- reason --> <!-- reason -->
<div ng-if="motion.getReason(version) != ''"> <div ng-if="motion.getReason(version) != ''">
<h3 translate>Reason</h3> <h3 translate>Reason</h3>
<div class="white-space-pre-line" ng-bind-html="motion.getReason()"></div> <div ng-bind-html="motion.getReason()"></div>
</div> </div>
<!-- attachments --> <!-- attachments -->

View File

@ -35,7 +35,7 @@
{{ (groups | filter: {id: group})[0].name }} {{ (groups | filter: {id: group})[0].name }}
</div> </div>
<label translate>About me</label> <label translate>About me</label>
<div class="white-space-pre-line" ng-bind-html="user.about_me"></div> <div ng-bind-html="user.about_me"></div>
</fieldset> </fieldset>
<fieldset os-perms="users.can_manage"> <fieldset os-perms="users.can_manage">