revert last change as ineffective
parent
4c95f760c7
commit
31005e81f1
1
index.js
1
index.js
|
@ -175,7 +175,6 @@ function code_block_to_markdown (html) {
|
|||
inner_html = match_code[1];
|
||||
inner_html = inner_html.replace(/(<([^>]+)>)/ig, "");
|
||||
inner_html = htmlentities.decode(inner_html);
|
||||
inner_html = inner_html.replace("\n","\r\n");
|
||||
const markdown = "```\n"+inner_html+"\n```\n";
|
||||
return markdown;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue