Skip to content

Commit

Permalink
hotfix: mindmap: use wrong cleanTitle function
Browse files Browse the repository at this point in the history
  • Loading branch information
obgnail committed Aug 14, 2023
1 parent 84ff66f commit 868c9f9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion plugin/mindmap.js
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
return filename
}

const cleanMindMapTitle = title => title.replace(/[(_)]/g, "");
const cleanMindMapTitle = title => title.replace(/[(-)]/g, "");
const cleanGraphTitle = title => `"${title.replace(/"/g, "")}"`;

const wrapMermaid = content => `\`\`\`mermaid\n${content}\`\`\``;
Expand Down

0 comments on commit 868c9f9

Please sign in to comment.