Skip to content

Commit

Permalink
removed commented out code
Browse files Browse the repository at this point in the history
  • Loading branch information
dreathed committed Sep 19, 2023
1 parent a5cb58c commit b561d5a
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions packages/mermaid/src/rendering-util/handle-markdown-text.ts
Original file line number Diff line number Diff line change
Expand Up @@ -14,11 +14,9 @@ function preprocessMarkdown(markdown: string): string {
const withoutMultipleNewlines = markdown.replace(/\n{2,}/g, '\n');
// Remove extra spaces at the beginning of each line
const withoutExtraSpaces = dedent(withoutMultipleNewlines);
/*
if (markdownAutoWrap === false) {
return withoutExtraSpaces.replace(/ /g, ' ');
}
*/
return withoutExtraSpaces;
}

Expand Down

0 comments on commit b561d5a

Please sign in to comment.