Skip to content

Commit c6ebb34

Browse files
anguedevrunkow
andauthored
fix: šŸ› fontAwesome icons are not included in the resulting image on safari (#131)
Co-authored-by: runkow <aguerrero@MacBook-Pro.local>
1 parent 4e0a7e1 commit c6ebb34

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

ā€Žsrc/clonePseudoElements.tsā€Ž

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ namespace Pseudo {
5353

5454
function formatCssText(style: CSSStyleDeclaration) {
5555
const content = style.getPropertyValue('content')
56-
return `${style.cssText} content: ${content};`
56+
return `${style.cssText} content: '${content.replace(/'|"/g, '')}';`
5757
}
5858

5959
function formatCssProperties(style: CSSStyleDeclaration) {

0 commit comments

Comments
Ā (0)