Skip to content

Commit 06fe124

Browse files
authoredFeb 14, 2024
Merge pull request #90 from posthtml/fix/styletoobject
2 parents 4e351ed + 5ec1990 commit 06fe124

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed
 

‎src/process-attributes.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
const {match} = require('posthtml/lib/api');
44
const parseAttrs = require('posthtml-attrs-parser');
5-
const styleToObject = require('style-to-object');
5+
const styleToObject = require('style-to-object').default;
66
const validAttributes = require('./valid-attributes');
77
const keys = require('lodash/keys');
88
const union = require('lodash/union');

0 commit comments

Comments
 (0)