Skip to content

Commit

Permalink
[FIX] fix the bug which caused the <false ...> element
Browse files Browse the repository at this point in the history
  • Loading branch information
MaciejWas committed Jan 5, 2024
1 parent b588abe commit ec38f48
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/MystEditor.js
Original file line number Diff line number Diff line change
Expand Up @@ -182,7 +182,7 @@ const MystEditor = ({
<${MystWrapper} fullscreen=${fullscreen}>
<${CodeMirror} mode=${mode} text=${text} setText=${setText} syncText=${syncText} setSyncText=${setSyncText} name=${name} id=${id} collaboration=${collaboration} spellcheckOpts=${spellcheckOpts} highlights=${transforms}/>
<${Preview} $mode=${mode} dangerouslySetInnerHTML=${{ __html: renderAndSanitize(text) }}/>
<${mode == 'Diff' && Diff} oldText=${initialText} text=${text}/>
${mode === 'Diff' ? html`<${Diff} oldText=${initialText} text=${text}/>` : "" }
<//>
<//>
<//>
Expand Down

0 comments on commit ec38f48

Please sign in to comment.