Skip to content

Commit

Permalink
Merge pull request #293 from eduardomozart/master
Browse files Browse the repository at this point in the history
Fix embeded SVG rendering
  • Loading branch information
Klap-in authored May 10, 2023
2 parents 87513ca + e56ff2e commit 24566a5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ODT/ODTImage.php
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,7 @@ public static function addStringAsSVGImageFile(ODTDocument $doc, $string) {
* @param $title
* @param $style
*/
function addStringAsSVGImage(ODTInternalParams $params, $string, $width = NULL, $height = NULL, $align = NULL, $title = NULL, $style = NULL) {
public static function addStringAsSVGImage(ODTInternalParams $params, $string, $width = NULL, $height = NULL, $align = NULL, $title = NULL, $style = NULL) {
if ( empty($string) ) { return; }

$name = self::addStringAsSVGImageFile($params->document, $string);
Expand Down

0 comments on commit 24566a5

Please sign in to comment.