Skip to content

Commit 76601cb

Browse files
committed
fix(common) Remove extra newline when printing thematic breaks
Signed-off-by: Jerome Simeon <[email protected]>
1 parent 62ffcd4 commit 76601cb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/markdown-common/src/ToMarkdownStringVisitor.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -167,7 +167,7 @@ class ToMarkdownStringVisitor {
167167
break;
168168
case 'ThematicBreak':
169169
ToMarkdownStringVisitor.newBlock(parameters,2);
170-
parameters.result += '---\n';
170+
parameters.result += '---';
171171
break;
172172
case 'Linebreak':
173173
parameters.result += '\\\n';

0 commit comments

Comments
 (0)