Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP

Loading…

Plugin conflicts with inline SVG <text> tags. #4

Closed
ssayan opened this Issue · 1 comment

2 participants

@ssayan

Text is a valid tag in SVG, and the plugin absolutely mangles them:

https://developer.mozilla.org/en-US/docs/Web/SVG/Element/text

The issue is replicable by having inline SVG in any file that will be parsed by docpad while this plugin is enabled. Text will disappear in the SVG.

@balupton
Owner

Released text plugin v2.3.0. Set the plugin's configuration option matchElementRegexString to t and that way it will only use and look for the <t> element instead of the <text> element as well. Documentation for this is now included in the readme too.

@balupton balupton closed this
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.