Created
September 22, 2022 14:30
-
-
Save patrickallaert/ecef679395cd68ccd47c8305904ad0ee to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- a/src/lib/RichText/Converter/Render/Template.php | |
+++ b/src/lib/RichText/Converter/Render/Template.php | |
@@ -161,7 +161,7 @@ | |
$rootNode->appendChild($newNode); | |
} | |
- return trim($this->richTextConverter->convert($innerDoc)->saveHTML()); | |
+ return trim((string)$this->richTextConverter->convert($innerDoc)->saveHTML()); | |
} | |
/** |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment