Skip to content

Commit

Permalink
chore: Update website.
Browse files Browse the repository at this point in the history
  • Loading branch information
jaywcjlove committed Mar 17, 2022
1 parent 9eb7930 commit ca8cb7d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion demo.html
Expand Up @@ -67,7 +67,7 @@ <h1>Hi there!</h1>
<script src="https://unpkg.com/@wcj/markdown-to-html"></script>
<script type="text/javascript">
;(() => {
const str = `<%- markdownString.replace(/\`/g, '\\\`').replace(/<\//g, '<\\/') %>`;
const str = `<%- markdownString.replace(/\`/g, '\\\`').replace(/<\//g, '<\\/').replace(/$\{/g, '$\\{') %>`;
const div = document.createElement('div');
div.className = 'markdown-body';
div.style = 'padding: 15px 0 25px 0;';
Expand Down

0 comments on commit ca8cb7d

Please sign in to comment.