Content
View differences
Updated by Aleix Suau over 5 years ago
### **Environment**:
OpenProject 10.6.5
qa-edge
### **Steps to reproduce:**
1. Go to work package description.
2. Add unordered list, followed by checkbox.
3. Save
### **Actual Behavior**
Not displayed correctly.
<figure class="image op-uc-figure"><div class="op-uc-figure--content"><img class="op-uc-image" src="/api/v3/attachments/18671/content" alt=""></div></figure>
<figure class="image op-uc-figure"><div class="op-uc-figure--content"><img class="op-uc-image" src="/api/v3/attachments/18672/content" alt=""></div></figure>
### **Expected Behavior**
Correctly formatted.
### Development Notes
* CkEditor conversion from HTML to Markdown is not keeping the line breaks. Regression bug?
* Sending: `kjbasc↵↵ ↵↵ ↵↵ñamcñals` you get: `<p class="op-uc-p">kjbasc</p>↵<p class="op-uc-p">ñamcñals</p>` . ↵↵ symbols seem to be omitted.
* Possible solution: <br> in the markdown but sending `kjbasc<br><br><br>ñamcñal` seems that could work but I get them back wrapped by a <p>: `<p class="op-uc-p">ncalsns</p>↵<p class="op-uc-p"><br><br><br></p>`...
OpenProject 10.6.5
qa-edge
### **Steps to reproduce:**
1. Go to work package description.
2. Add unordered list, followed by checkbox.
3. Save
### **Actual Behavior**
Not displayed correctly.
<figure class="image op-uc-figure"><div class="op-uc-figure--content"><img class="op-uc-image" src="/api/v3/attachments/18671/content" alt=""></div></figure>
<figure class="image op-uc-figure"><div class="op-uc-figure--content"><img class="op-uc-image" src="/api/v3/attachments/18672/content" alt=""></div></figure>
### **Expected Behavior**
Correctly formatted.
### Development Notes
* CkEditor conversion from HTML to Markdown is not keeping the line breaks. Regression bug?
* Sending: `kjbasc↵↵ ↵↵ ↵↵ñamcñals` you get: `<p class="op-uc-p">kjbasc</p>↵<p class="op-uc-p">ñamcñals</p>` . ↵↵ symbols seem to be omitted.
* Possible solution: <br> in the markdown but sending `kjbasc<br><br><br>ñamcñal` seems that could work but I get them back wrapped by a <p>: `<p class="op-uc-p">ncalsns</p>↵<p class="op-uc-p"><br><br><br></p>`...