Updated SVG image renderer template
authorThierry Florac <tflorac@ulthar.net>
Mon, 11 Jan 2021 15:48:59 +0100
changeset 215 798e3fa7014a
parent 214 a6dc5a2762e7
child 216 ff551791b92b
Updated SVG image renderer template
src/pyams_file/templates/svg-render.pt
--- a/src/pyams_file/templates/svg-render.pt	Wed Sep 23 16:45:42 2020 +0200
+++ b/src/pyams_file/templates/svg-render.pt	Mon Jan 11 15:48:59 2021 +0100
@@ -1,4 +1,4 @@
-<div class="display-inline align-middle svg-container"
-	 tal:attributes="class css_class + ' ' + default; style style;">
+<div class="${css_class} display-inline align-middle svg-container"
+	 style="${style}">
 	<svg tal:replace="structure svg" />
 </div>
\ No newline at end of file