ArthurHub / ArthurHub/HTML-Renderer
CSS selector for wildcard classes does not work
Open
CSS
enhancement
- Dominant language
- C#
- Stars
- 1.4k
- Forks
- 550
- Avg merge
- 14d 9h
- Merged PRs (30d)
- 1
Description
this is valid CSS
```css
code[class*="language-"],
pre[class*="language-"] {
color: black;
}
```
Matches
```html
xyz
````
HTML-Renderer ignores it.
Contributor guide
No contributing guide indexed for this repository
Research direction
Start by reproducing the issue with the CSS and HTML snippets in the report, then trace HTML-Renderer's CSS selector matching for attribute selectors. Done means selectors using [class*="language-"] correctly match the shown code and pre elements and apply the declared color.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- csharp, css
- Domain
- frontend
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100