bergie / hallo

Simple rich text editor (contentEditable) for jQuery UI

Home Page:http://hallojs.org/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Markdown demo broken (ul, h#, ...) puts html into Markdown field (chromium)

vhf opened this issue · comments

Example : On http://hallojs.org/demo/markdown/, selecting the second paragraph, clicking the ul button gives in source div :

*   <span style="font-size: 16pt; line-height: 21pt; text-indent: 2em;">Actually, this text [snip] some text.</span>

Then, clicking h1 button three (3) times gives :

# <h1><h1>

*   <span style="font-size: 16pt; line-height: 21pt; text-indent: 2em;">Actually, this text [snip] some text.</span>
</h1></h1>

It looks like it's actually a to-markdown issue. Removing font-size, line-height and text-indent from hallo.css article p solves this issue.

Affected browsers :

  • Chromium 28.0.1500.95 (213514) (Linux)
  • Chrome 28.0.1500.95 (OS X)
  • Safari 5.1.7 (6534.57.2) (OS X)

Not affected :

  • Firefox 22.0 (windows7)
  • Firefox 22.0 (linux)
  • Firefox 22.0 (OS X)
  • IE 10 (windows7)