浏览代码

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 年之前
父节点
当前提交
8695a02c03
共有 1 个文件被更改,包括 2 次插入2 次删除
  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>