You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Type::getSvgCode returns a DTD (which is discouraged) and an XML declaration which are fine for a standalone files, but not for inlining.
Changing Type::getSvgCode signature to public function getSvgCode(bool $xmlDeclaration = true, bool $dtd = true): string would keep BC and allow to generate SVG code for all use-cases.
The text was updated successfully, but these errors were encountered:
MatTheCat
changed the title
Generate inline SVG code
Allow generating inline SVG code
Nov 12, 2024
Type::getSvgCode
returns a DTD (which is discouraged) and an XML declaration which are fine for a standalone files, but not for inlining.Changing
Type::getSvgCode
signature topublic function getSvgCode(bool $xmlDeclaration = true, bool $dtd = true): string
would keep BC and allow to generate SVG code for all use-cases.The text was updated successfully, but these errors were encountered: