ArthurHub / ArthurHub/HTML-Renderer

ParseCssBlockProperties does not parse url attribute correctly

Open
#29 0 comments 0 reactions 0 assignees View on GitHub
bug CSS
Dominant language
C#
Stars
1.4k
Forks
550
Avg merge
14d 9h
Merged PRs (30d)
1

Description

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

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by locating ParseCssBlockProperties and trace how it splits URL and Font-Family values. Reproduce the data URL example with a semicolon inside the quoted string; done means the complete quoted URL remains intact instead of being truncated.

Written by the indexing model from the issue text.

Assessment

Tech stack
csharp
Domain
web-dev
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.