Merge pull request #1079 from ZmagoD/zd_SCI_2282

fixes smart annotation avatar bug in pdf reports[fixes SCI-2282]
This commit is contained in:
Zmago Devetak 2018-04-05 16:12:23 +02:00 committed by GitHub
commit cafe042494
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -10,7 +10,9 @@
<body class="print-report-body">
<div class="print-report">
<% # Also whitelist <img> and <input type="checkbox"> tags %>
<%= @html.html_safe %>
<%= sanitize_input(fix_smart_annotation_image(@html),
%w(img input),
%w(type disabled checked)) %>
</div>
</body>
</html>