ArthurHub / ArthurHub/HTML-Renderer

multiple line breaks inside font tag with br

未關閉
#79 1 則留言 0 個 reaction 已指派 0 人 在 GitHub 檢視
bug HTML
主要語言
C#
星號
1.4k
分支
550
平均合併
14 天 9 小時
30 天內合併 PR
1

描述

The following html will not rendered correctly:
```html


Line1

Line2

Line3
Line4

```
I know this is very ugly html. This is from Microsoft Outlook.

Output: (the browser on the right is chrome)
![20170523 114550](https://cloud.githubusercontent.com/assets/1647126/26348622/916b1482-3fad-11e7-9e58-895c720b31da.png)

If you remove the first br tag (inside the div tag) it renders as expected

貢獻指南

這個儲存庫沒有索引到貢獻指南

研究方向

首先,在 HTML-Renderer 輸出中重現提供的 Outlook HTML,並與 Chrome 進行比較,重點關注 div 內的第一個 br、後續換行以及周圍的 font tag 之間的互動。完成的標準是:範例渲染出的換行與預期的瀏覽器輸出相同;payload 不指明來源檔案或測試。

由索引模型根據 Issue 內容生成。

評估

技術堆疊
csharp
領域
frontend
Issue 類型
缺陷
難度
4/5
預估耗時
3-5 天
活躍度
停滯
描述清晰度
基本清楚
新手友好度
35/100

把新 issue 寄到你的電子郵件信箱

精選適合新手參與的 GitHub issue 摘要。