Skip to content

Commit 7f9c89d

Browse files
committed
moving to multi-step css parse-processing
1 parent 8ee5fc8 commit 7f9c89d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

packages/heml-parse/src/index.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ import { load } from 'cheerio'
22
import closeSelfClosingNodes from './closeSelfClosingNodes'
33
import openWrappingNodes from './openWrappingNodes'
44
import extractInlineStyles from './extractInlineStyles'
5-
import safeSelectorize from './safeSelectorize'
5+
import preprocessStyles from './preprocessStyles'
66

77
function parse (contents, options = {}) {
88
const {
@@ -32,7 +32,7 @@ function parse (contents, options = {}) {
3232
closeSelfClosingNodes($, elements)
3333
openWrappingNodes($, elements)
3434
extractInlineStyles($, elements)
35-
safeSelectorize($, elements)
35+
preprocessStyles($, elements)
3636

3737
return $
3838
}

0 commit comments

Comments
 (0)