mirror of
https://github.com/scinote-eln/scinote-web.git
synced 2025-01-04 14:44:26 +08:00
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:
commit
cafe042494
1 changed files with 3 additions and 1 deletions
|
@ -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>
|
||||
|
|
Loading…
Reference in a new issue