Fix rendering of json handson tables metadata in results during project export [SCI-8827]

This commit is contained in:
sboursen-scinote 2023-07-20 14:06:03 +02:00
parent 0824c5111a
commit 97744e2ed5

View file

@ -25,7 +25,7 @@
</div>
<div class="report-element-body">
<input type="hidden" class="hot-table-contents" value="<%= table.contents_utf_8 %>" />
<input type="hidden" class="hot-table-metadata" value="<%= table.metadata %>" />
<input type="hidden" class="hot-table-metadata" value="<%= table.metadata.to_json %>" />
<div class="hot-table-container"></div>
<table class="report-common-table-format"></table>
</div>