Remove HTML tags from description in assigment PDF.
Fix usage of clearfix in assignment templates.
This commit is contained in:
parent
912876c895
commit
aad74bdbb4
@ -47,7 +47,7 @@ angular.module('OpenSlidesApp.assignments.pdf', ['OpenSlidesApp.core.pdf'])
|
||||
style: 'textItem'
|
||||
},
|
||||
{
|
||||
text: assignment.description,
|
||||
text: $(assignment.description).text(),
|
||||
style: 'textItem',
|
||||
margin: [10, 0, 0, 0]
|
||||
}
|
||||
|
@ -75,12 +75,12 @@
|
||||
</div>
|
||||
|
||||
<div class="details">
|
||||
<div ng-if="assignment.description">
|
||||
<div ng-if="assignment.description" class="clearfix">
|
||||
<h3 translate>Description</h3>
|
||||
<div ng-bind-html="assignment.description | trusted"></div>
|
||||
</div>
|
||||
|
||||
<div ng-if="assignment.phase !== 2" class="clearfix">
|
||||
<div ng-if="assignment.phase !== 2">
|
||||
<h3 translate>Candidates</h3>
|
||||
<div ui-tree="treeOptions" ng-if="assignment.assignment_related_users.length"
|
||||
data-empty-placeholder-enabled="false">
|
||||
|
@ -11,11 +11,11 @@
|
||||
<!-- Description -->
|
||||
<div ng-if="!showResult && assignment.description !== ''"
|
||||
ng-bind-html="assignment.description | trusted"
|
||||
class="zoomcontent">
|
||||
class="zoomcontent clearfix">
|
||||
</div>
|
||||
|
||||
<!-- Candidates -->
|
||||
<div class="zoomcontent" ng-if="!showResult" class="clearfix">
|
||||
<div class="zoomcontent" ng-if="!showResult">
|
||||
<h3 translate>Candidates</h3>
|
||||
<ul>
|
||||
<li ng-repeat="related_user in assignment.assignment_related_users | orderBy:'weight'">
|
||||
|
Loading…
Reference in New Issue
Block a user