bergie / hallo

Simple rich text editor (contentEditable) for jQuery UI
http://hallojs.org/
MIT License
2.43k stars 318 forks source link

Html mixed with markdown when making an UL #244

Open guillaume-fr opened 8 years ago

guillaume-fr commented 8 years ago
  1. Open http://hallojs.org/demo/markdown/
  2. Select, inside the wysiwyg editor the text

    Actually, this text you're reading has Hallo loaded. To try it out, just click here and start writing. If you want to make more comprehensive modifications, just select some text.

  3. Click on the UL button from the toolbar
  4. Check in the text area, the generated markdown contains HTML : * <span style="font-size: 16pt; line-height: 21pt; text-indent: 2em;">Actually, this text you're reading has Hallo loaded. To try it out, just click here and start writing. If you want to make more comprehensive modifications, just select some text.</span>

The markdown should not contains a span