Skip to content

Commit 08f1afa

Browse files
[pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
1 parent 3b9c7f8 commit 08f1afa

File tree

1 file changed

+2
-2
lines changed
  • myst_parser/mdit_to_docutils

1 file changed

+2
-2
lines changed

myst_parser/mdit_to_docutils/base.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -532,7 +532,7 @@ def render_paragraph(self, token: SyntaxTreeNode) -> None:
532532
def render_inline(self, token: SyntaxTreeNode) -> None:
533533
lineblock = False
534534
for child in token.children or []:
535-
if child.type == 'hardbreak':
535+
if child.type == "hardbreak":
536536
lineblock = True
537537
break
538538

@@ -552,7 +552,7 @@ def render_inline(self, token: SyntaxTreeNode) -> None:
552552
lineblock.append(current_line)
553553

554554
for child in token.children or []:
555-
if child.type == 'hardbreak':
555+
if child.type == "hardbreak":
556556
current_line = nodes.line()
557557
self.add_line_and_source_path(current_line, token)
558558
lineblock.append(current_line)

0 commit comments

Comments
 (0)