Skip to content

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

Closed
ssayan opened this Issue Aug 16, 2013 · 1 comment

2 participants

@ssayan
ssayan commented Aug 16, 2013

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
DocPad member

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 Aug 17, 2013
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.