Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit b84d367

Browse files
committed
Replace some double quotes with single quotes
1 parent 943c87f commit b84d367

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

lib/markdown2.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -348,7 +348,7 @@ def convert(self, text):
348348

349349
text = self.preprocess(text)
350350

351-
if "wavedrom" in self.extras:
351+
if 'wavedrom' in self.extras:
352352
text = self._do_wavedrom_blocks(text)
353353

354354
if "fenced-code-blocks" in self.extras and not self.safe_mode:
@@ -2099,7 +2099,7 @@ def _wavedrom_block_sub(self, match):
20992099
# dedent the block for processing
21002100
lead_indent, waves = self._uniform_outdent(match.group(3))
21012101
# default tags to wrap the wavedrom block in
2102-
open_tag, close_tag = '<script type="WaveDrom">\n', "</script>"
2102+
open_tag, close_tag = '<script type="WaveDrom">\n', '</script>'
21032103

21042104
# check if the user would prefer to have the SVG embedded directly
21052105
if not isinstance(self.extras['wavedrom'], dict):
@@ -2112,7 +2112,7 @@ def _wavedrom_block_sub(self, match):
21122112
try:
21132113
import wavedrom
21142114
waves = wavedrom.render(waves).tostring()
2115-
open_tag, close_tag = "<div>", "\n</div>"
2115+
open_tag, close_tag = '<div>', '\n</div>'
21162116
except ImportError:
21172117
pass
21182118

0 commit comments

Comments
 (0)