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 50afeb5 commit fdef839Copy full SHA for fdef839
index.js
@@ -6,8 +6,9 @@ showdown.setFlavor('github');
6
7
try {
8
const markdownText = core.getInput('text');
9
+ let re = /<details>[\s\S]*?<\/details>/
10
const converter = new showdown.Converter();
- const html = converter.makeHtml(markdownText);
11
+ const html = converter.makeHtml(markdownText.replace(re, ""));
12
13
core.setOutput("html", html);
14
0 commit comments