We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent fdef839 commit c6d6a08Copy full SHA for c6d6a08
index.js
@@ -6,7 +6,7 @@ showdown.setFlavor('github');
6
7
try {
8
const markdownText = core.getInput('text');
9
- let re = /<details>[\s\S]*?<\/details>/
+ let re = /<details>[\s\S]*?<\/details>/g;
10
const converter = new showdown.Converter();
11
const html = converter.makeHtml(markdownText.replace(re, ""));
12
0 commit comments