Explorar o código

I1116 [notebook] Fix not rendering Markdown in notebook's snippet (Issue #1116) (#1117)

Co-authored-by: Louis de Charson <louisdecharson@posteo.net>
Co-authored-by: Romain Rigaux <romain.rigaux@gmail.com>
Louis de Charsonville %!s(int64=5) %!d(string=hai) anos
pai
achega
8695a02c03

+ 2 - 2
desktop/libs/notebook/src/notebook/templates/editor_components.mako

@@ -1536,12 +1536,12 @@ ${ sqlSyntaxDropdown.sqlSyntaxDropdown() }
       }"></div>
     </div>
     <div class="span6">
-      <div data-bind="html: renderMarkdown, attr: {'id': 'liveMD' + id()}"></div>
+      <div data-bind="html: renderMarkdown(), attr: {'id': 'liveMD' + id()}"></div>
     </div>
   </div>
   <!-- /ko -->
   <!-- ko if: $root.isPresentationMode() -->
-  <div data-bind="html: renderMarkdown"></div>
+  <div data-bind="html: renderMarkdown()"></div>
   <!-- /ko -->
 </script>