Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Inline svg #173

Closed
webwit opened this issue Oct 25, 2022 · 1 comment
Closed

Inline svg #173

webwit opened this issue Oct 25, 2022 · 1 comment

Comments

@webwit
Copy link

webwit commented Oct 25, 2022

Thanks for the great lib! I used it to create an inline svg, but had to strip the <!xml and <!DOCTYPE stuff for that.

No problem, but maybe something like this would be a nice addition in BarcodeGeneratorSVG.php:

  • Add param bool $inline = false to getBarcode()
  • Only add the <!xml and <!DOCTYPE lines when !$inline
@casperbakker
Copy link
Member

Thanks for the patience. I fixed it in #198, which will become v3 of this package.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

2 participants