Bläddra i källkod

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 5 år sedan
förälder
incheckning
8695a02c03
1 ändrade filer med 2 tillägg och 2 borttagningar
  1. 2 2
      desktop/libs/notebook/src/notebook/templates/editor_components.mako

+ 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>