Taco de Wolff
Taco de Wolff
Hi Jonathan, thanks for reporting the issue! I want to fix both issues but I have to confess that I have limited time to dedicate at the moment. I was...
I'm not entirely sure what you mean with nesting at-rules. In your example I see that `@media{color:blue}` is not yet supported and I'm working on that, but what do you...
Relevant documentation is here: https://drafts.csswg.org/css-syntax/#declaration-rule-list For each at-rule it is defined where it may contain qualified rules or declarations.
I don't understand what you need. What problem do you have? You can only convert object or array literals (and decimal, string, true, false, null literals) to JSON...
Do you want this library to be able to generate an AST tree according to the estree standard? What do you expect it to produce? Can you give me an...
You're right that the comment is inaccurate. I've fixed the documentation, but note that the function has a different purpose than what you're looking for. If you want to remove...
I'm a little confused. Are you using the HTML parser of this package to get attribute values? The HTML lexer will put everything after `=` as the attribute value, which...
So what is the problem with using `bytes.Trim(`'"`)` on `html.Lexer.AttrVal`? Do you have an example that doesn't work as expected?
I see now, yes that sounds like a good idea! Generally, functions are implemented as they seem needed. I want to add that besides cutting of the quotes from the...
Yes, the input file to `tdewolff/minify` will be used as a buffer and thus gets changed. If you still need the original input file, please copy it before passing it...