posthtml / posthtml-safe-class-names

Replace escaped characters in CSS selectors and HTML class names.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Fails to replace some special characters

cossssmin opened this issue · comments

This is mostly an issue with the regex we do for PostCSS, which affects replacements in the <style> tag.

For example, this will fail:

.w-\[600px\] {
  width: 600px;
}