Skip to content

Commit ea98318

Browse files
@svg updated
1 parent 7a2bf2c commit ea98318

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/Laravel.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -92,6 +92,7 @@ public static function svgDirective()
9292
str_replace(rtrim(domain('')), '', tasset(\$path, false, false))
9393
);
9494
95+
libxml_use_internal_errors(true);
9596
if (\\Tamedevelopers\\Support\\Tame::exists(\$fullPath)) {
9697
\$svg = new \\DOMDocument();
9798
\$svg->load(\$fullPath);
@@ -102,6 +103,7 @@ public static function svgDirective()
102103
103104
echo \$svg->saveXML(\$svg->documentElement);
104105
}
106+
libxml_clear_errors();
105107
?>";
106108
});
107109
}

0 commit comments

Comments
 (0)