BoostIO / BoostNote-Legacy

This repository is outdated and new Boost Note app is available! We've launched a new Boost Note app which supports real-time collaborative writing. https://github.com/BoostIO/BoostNote-App
Other
17.07k stars 1.47k forks source link

< > don't show at markdown preview. #205

Closed kazup01 closed 7 years ago

kazup01 commented 7 years ago

jan-04-0029 23-47-31

< and > are change to , > and < at the markdown preview.

asmsuechan commented 7 years ago

This bug arises at https://github.com/BoostIO/Boostnote/blob/master/browser/components/MarkdownPreview.js#L204

markdown.render(value) returns correct (like <?php ?>) value, however it is assigned to innerHTML as html comment <!--?php ?-->.

Perhaps, it occurs due to the settings of CodeMirror around auto completion.

igoradamenko commented 7 years ago

I think this is an appropriate issue.

If I use JSX in markdown block of code, I get something strange:

gif

Note: app version is 0.8.5.

kazup01 commented 7 years ago

Hi @igoradamenko san, @asmsuechan fixed this bug.🎉 We will update next version! Thank you for waiting!