woofmark
woofmark copied to clipboard
HTML mode content get wrapped in <p> tags upon every refresh
I think I've found another bug using the editor. The resulted text is not consistent refreshing the page with text in HTML mode.
I'm using Firefox Nightly 41,
Problem: Texts unexpected appended to editor upon refresh
Expected Result:
<h1>Heading Text</h1>
be consistent.
Actual Result:
First time refresh: <p><h1>Heading Text</h1></p>
Second time refresh: <p><p><h1>Heading Text</h1></p></p>
Procedures: Input any text into HTML mode, refresh page.
Analysis:
The content is not consistent. <p>
tags is being prepended and appended upon every refresh in HTML mode.
I can't reproduce this issue. Please provide precise repro steps
Still using Nightly, but Firefox should reproduce the issue.
Steps:
- Use http://bevacqua.github.io/woofmark/
- Use "HTML" mode and delete everything
- Paste in
<h1>Heading Text</h1>
- Click the refresh button on the right of the address bar.
- The editor should now contain
<p><h1>Heading Text</h1></p>
Can you work out a fix for this issue?