Closed jdav-dev closed 1 year ago
Selectors with escaped commas are split on the escaped comma:
Actual:
iex> Premailex.CSSParser.parse(".with\\,escaped\\,commas {}") [ %{rules: [], selector: ".with\\", specificity: 1}, %{rules: [], selector: "escaped\\", specificity: 1}, %{rules: [], selector: "commas", specificity: 1} ]
Expected:
iex> Premailex.CSSParser.parse(".with\\,escaped\\,commas {}") [%{rules: [], selector: ".with\\,escaped\\,commas", specificity: 1}]
Selectors with escaped commas are split on the escaped comma:
Actual:
Expected: