From 1f0c3f21e510c0bb2bd2844714b2477654314987 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Argentina=20Ortega=20S=C3=A1inz?= Date: Sun, 28 Mar 2021 11:51:22 +0200 Subject: [PATCH] Fix getting turndown rules from preferences --- src/markdown-utils.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/markdown-utils.js b/src/markdown-utils.js index 2e9e276..bf39a11 100644 --- a/src/markdown-utils.js +++ b/src/markdown-utils.js @@ -8,9 +8,9 @@ const Turndown = require('joplin-turndown').default const converter = new Turndown({ headingStyle: 'atx', hr: '---', - bulletListMarker: Zotero.Prefs.get(`extensions.mdnotes.html2md.default.bullet`, true), - strongDelimiter: Zotero.Prefs.get(`extensions.mdnotes.html2md.default.strong`, true), - emDelimiter: Zotero.Prefs.get(`extensions.mdnotes.html2md.default.em`, true) + bulletListMarker: Zotero.Prefs.get('extensions.mdnotes.html2md.default.bullet', true), + strongDelimiter: Zotero.Prefs.get('extensions.mdnotes.html2md.default.strong', true), + emDelimiter: Zotero.Prefs.get('extensions.mdnotes.html2md.default.em', true) }) function hasStyle(node, property, value) {