Summary: | <br> considered as new <p> | ||
---|---|---|---|
Product: | MuPDF | Reporter: | Pablo Rodríguez <ghostscript> |
Component: | epub | Assignee: | MuPDF bugs <mupdf-bugs> |
Status: | RESOLVED FIXED | ||
Severity: | normal | ||
Priority: | P4 | ||
Version: | unspecified | ||
Hardware: | PC | ||
OS: | Linux | ||
Customer: | Word Size: | --- | |
Bug Depends on: | 695935 | ||
Bug Blocks: | |||
Attachments: |
ePub with <br/> inside <p>
<br/> displayed by mupdf and ebook-viewer |
Created attachment 14063 [details]
<br/> displayed by mupdf and ebook-viewer
The issue is still present in version 1.12-rc1. I’m afraid that the issue is still present in version 1.14-rc1. Issue is still pending. Report is about two years old. commit e80caafb69bcf3e1c868e8a5f1ea22daf1464eb2 Author: Tor Andersson <tor.andersson@artifex.com> Date: Fri Apr 24 15:16:07 2020 +0200 html: Insert <br> as flow nodes. This fixes several issues with <br> tags interacting badly with css margins and selectors due to how we were splitting blocks in order to insert the new-lines from <br>. This fixes bugs 698351 and 702856. |
Created attachment 14062 [details] ePub with <br/> inside <p> In the attached ePub document, there is a <p> which contains a <br/> element. Distance applied to the new line should be the one set in "line-height", not in margins or paddings. The screenshot shows the display by mupdf-gl-1.11 on the left and what calibre shows on the right.