The HTML that is created in webui causes note saving to fail
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Ubuntu One Servers |
Fix Released
|
High
|
Rodrigo Moya |
Bug Description
An attempt to create bulletted list with the following structure results in "Opening and ending tag mismatch: li line 1 and ul, line 1, column 171"
"""
Testing saving note 1
Testing saving note 2
* 1
o 1.1
+ 1.1.1
o 1.2
* 2
o 2.1
+ 2.1.1
+ 2.1.2
o 2.2
+ 2.2.1
+ 2.2.2
* 3
* 4
* 5
"""
The HTML generated is:
"""
Testing saving note 1
<br>
<br>
Testing saving note 2
<br>
<br>
<ul>
<li>1</li>
<li>
<ul>
<li>1.1</li>
<li>
<ul>
</ul>
</ul>
<li>2</li>
<li>
<ul>
<li>
<ul>
<li>
<ul>
</ul>
<li>
<ul>
</ul>
</ul>
"""
As you can see, the tree is not balanced. This causes internal server error and inability to save the note.
visibility: | private → public |
Changed in ubuntuone-servers: | |
importance: | Undecided → High |
tags: | added: desktop+ notes webui |
Changed in ubuntuone-servers: | |
status: | New → Confirmed |
Changed in ubuntuone-servers: | |
assignee: | nobody → Ubuntu One Desktop+ team (ubuntuone-desktop+) |
Changed in ubuntuone-servers: | |
assignee: | Ubuntu One Desktop+ team (ubuntuone-desktop+) → Rodrigo Moya (rodrigo-moya) |
status: | Confirmed → In Progress |
This should be fixed, in that it shouldn't crash or fail when saving. We still have wrong HTML being generated by the editor when using linked lists,though, but that's a separate bug