Skip to content
This repository was archived by the owner on Nov 8, 2022. It is now read-only.

Commit 3ea6a0e

Browse files
committed
fix(md): set html option to false
1 parent 628afe7 commit 3ea6a0e

File tree

2 files changed

+5
-3
lines changed

2 files changed

+5
-3
lines changed

components/MarkDownRender/index.js

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,9 @@ const log = buildLog('c:MarkDownRender:index')
2424
// const latexPlugin = require('remarkable-katex')
2525
// const md = new Remarkable()
2626
const md = new Remarkable('full', {
27-
html: true,
27+
// NOTE: html should always be false
28+
// Enable HTML tags in source
29+
html: false,
2830
breaks: false,
2931
linkTarget: '_blank',
3032
})

config/endpoint.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,8 @@ const getGraphQLEndpoint = () => {
1313
return 'http://localhost:4001/graphiql'
1414

1515
default:
16-
return 'https://api.coderplanets.com/graphiql'
17-
/* return 'http://localhost:4001/graphiql' */
16+
// return 'https://api.coderplanets.com/graphiql'
17+
return 'http://localhost:4001/graphiql'
1818
}
1919
}
2020

0 commit comments

Comments
 (0)