Closed
Description
Bug Report
Description
After parsing a CSS stylesheet with counter()
call inside content:
property, ToCss()
returns invalid CSS.
Steps to Reproduce
var parser = new CssParser();
var sheet = parser.ParseStyleSheet(@"
h1::before {
counter-increment: h1;
content: counter(h1) "".\00A0"";
}
");
var css = sheet.ToCss();
Expected behavior:
h1::before { counter-increment: h1 1; content: counter(h1) ". " }
Actual behavior:
h1::before { counter-increment: h1 1; content: h1 decimal ". " }
Environment details: [OS, .NET Runtime, ...] .NET 4.8/Windows 10 AngleSharp.Css 0.14.1