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

svg() function sometimes produces invalid HTML #3025

Closed
robmcfadden opened this issue Jun 25, 2018 · 1 comment
Closed

svg() function sometimes produces invalid HTML #3025

robmcfadden opened this issue Jun 25, 2018 · 1 comment

Comments

@robmcfadden
Copy link
Contributor

Description

The svg() function prepends a string to id attributes that sometimes starts with a number, which doesn't validate.

Steps to reproduce

The svg() function is used in a template and pulling an SVG from an assets field.

Additional info

  • Craft version: 3.0.9
  • PHP version: 7.1.16
  • Database driver & version: MySQL 5.7.22
@brandonkelly
Copy link
Member

Fixed for today’s release – thanks!

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

No branches or pull requests

2 participants