Merge pull request #5051 from opf/fix/24266/description-restore-linebreaks

[26266] Restore newlines in paragraphs within description
pull/5058/head
Oliver Günther 8 years ago committed by GitHub
commit 79496701c5
  1. 3
      app/assets/stylesheets/content/work_packages/inplace_editing/_edit_fields.sass
  2. 2
      frontend/app/components/common/xss/bindUnescapedHtml/bindUnescapedHtml.directive.ts

@ -75,6 +75,9 @@
word-wrap: break-word
margin-bottom: 0
.read-value--html p
margin-bottom: 1em
.inplace-edit--read-value
&:before
vertical-align: middle

@ -42,7 +42,7 @@ function bindUnescapedHtml(ExpressionService:ExpressionService, $sce) {
return {
restrict: 'A',
template: '<span ng-bind-html="escapedValue"></span>',
template: '<span class="read-value--html" ng-bind-html="escapedValue"></span>',
scope: {
value: '=bindUnescapedHtml',
},

Loading…
Cancel
Save