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 55e9204 commit aedcdd2Copy full SHA for aedcdd2
packages/worker/src/worker.ts
@@ -32,7 +32,11 @@ function wrapPromise<T>(func: promiseFunc<T>, time = 1000) {
32
*/
33
async function markdown_to_html(s: string) {
34
const parsed = await marked.parse(s);
35
- return parsed.replace(/<p>/g, '').replace(/<\/p>/g, '');
+ return parsed
36
+ .replace(/<p>/g, '')
37
+ .replace(/<\/p>/g, '')
38
+ .replace(/<ol>/g, '')
39
+ .replace(/<\/ol>/g, '');
40
}
41
42
export default {
0 commit comments