Inline image widgets should not be displayed in code blocks

Bug report

When I type some javascript into code block like:

  <div id="app">
    <img src="./assets/logo.png">

and the code block will show a blank line in the middle


  • Platform: Ubuntu
  • Platform version: 18.04
  • App Version: 4.1.0


Input the code provided above, and the display problem will show.

Hi Jacky,

Thank you for reporting it.
Yeah that’s a bug due to inline image widgets. It should not be displayed in code blocks.
Thanks again!

It should work as expected in v4.3.0. Thank you for reporting it!