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

Allow XML namespace prefixes for inky tags #91

Open
cumuru opened this issue Oct 10, 2017 · 1 comment
Open

Allow XML namespace prefixes for inky tags #91

cumuru opened this issue Oct 10, 2017 · 1 comment

Comments

@cumuru
Copy link

cumuru commented Oct 10, 2017

I‘d really like to be able to prefix all inky tags with an XML namespace (like <inky:columns>). The current workflow of many of our email project is 1. create template with Foundation for Emails and 2. integrate it in a CMS. Along this path a XML prefix with corresponding XSD would ease hacking (IDE autocompletion) and validation (be it IDE or CI or the like).
What I tried is overriding component registry with namespaced tags (like inky\\:columns) but it would exceed maximum call stack - no clue why. I‘m no pro in cheerio nor node in general, so any help is appreciated.
btw: Thanks for Inky and for sharing it!

@cumuru
Copy link
Author

cumuru commented Oct 10, 2017

The PHP based part is ready, just in case I didn‘t make clear what‘s my goal:
https://github.com/cumuru/inky/tree/feature/xmlNamespace#xml-namespace

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

1 participant