dymo-api 1.0.44 → 1.0.45
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -37,7 +37,7 @@ const customError = (code, message) => {
|
|
|
37
37
|
};
|
|
38
38
|
const convertTailwindToInlineCss = (htmlContent) => {
|
|
39
39
|
return htmlContent.replace(/class="([^"]+)"/g, (match, classList) => {
|
|
40
|
-
return match.replace(classList, twi(classList, { minify: true, merge: true }));
|
|
40
|
+
return match.replace("class", "style").replace(classList, twi(classList, { minify: true, merge: true }));
|
|
41
41
|
});
|
|
42
42
|
};
|
|
43
43
|
/**
|
|
@@ -37,7 +37,7 @@ const customError = (code, message) => {
|
|
|
37
37
|
};
|
|
38
38
|
const convertTailwindToInlineCss = (htmlContent) => {
|
|
39
39
|
return htmlContent.replace(/class="([^"]+)"/g, (match, classList) => {
|
|
40
|
-
return match.replace(classList, twi(classList, { minify: true, merge: true }));
|
|
40
|
+
return match.replace("class", "style").replace(classList, twi(classList, { minify: true, merge: true }));
|
|
41
41
|
});
|
|
42
42
|
};
|
|
43
43
|
/**
|