kdzwinel / SnappySnippet

Chrome extension that allows easy extraction of CSS and HTML from selected element.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

'content' property with empty string is assign a non-empty string

macrini opened this issue · comments

The 'content' property in pseudo-elements ':before' and ':after' gets an improper assignment of empty strings like this:

#DIV_1:after {
content: '""';
}

The proper value should be just the empty string ''. In other words, 'content' is being assigned an empty string ("") inside another string (the outer ''). So the outer string isn't empty when it should be, and that is a problem.

You can try it at https://www.nytimes.com on any article box featured in the main page. It happens in other websites too.

Thanks for reporting - that's a duplicate of #38