ArthurHub / ArthurHub/HTML-Renderer

ParseCssBlockProperties does not parse url attribute correctly

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

描述

Due to failing to account for the existence of quoted strings for URL, fails to parse DATA urls due to the existence of a ';' in the string

eg
url('data:image/gif;base64,R0lGOD'); produces url('data:image/gif;

Implementation needs to allow for this in URL and for Font-Family at least

貢獻指南

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

研究方向

先定位 ParseCssBlockProperties,並追蹤它如何分割 URL 和 Font-Family 值。重現引號字串內包含分號的 data URL 範例;當完整的帶引號 URL 保持完整而不是被截斷時,即表示完成。

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

評估

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

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

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