zestelle2 / anki

Automatically exported from code.google.com/p/anki
0 stars 0 forks source link

Inconsistent HTML editor #4

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. In main screen, click "Add"
2. In one of the fields, press A, Enter, B, Enter, C
3. Press Ctrl+Shift+X to view HTML

What is the expected output? What do you see instead?
Expected html would be "<div>A</div><div>B</div><div>C</div>" for a multi-line 
text.
Actual html is "A<div>B</div><div>C</div>"

What version of the product are you using? On what operating system?
Version 2.0.28 on Windows 7

Please provide any additional information below.
This bug is relevant when using css to style a multi-line text.
A possible workaround is to press Ctrl+Home, Enter, Backspace whenever entering 
a multiline text.

Original issue reported on code.google.com by Svensson...@gmail.com on 8 Sep 2014 at 6:48