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

Support EJS? #842

Closed
openbu-owner opened this issue Sep 26, 2019 · 1 comment
Closed

Support EJS? #842

openbu-owner opened this issue Sep 26, 2019 · 1 comment

Comments

@openbu-owner
Copy link

Support EJS?
Input:
<img src="../public/images/default/Logos/Large/1/<%= Logo1 %>.png" width="60" height="60" alt=""/>
Output:
<img src="../public/images/default/Logos/Large/1/%3C%=%20Logo2%20%%3E.png" width="60" height="60" alt="">

@geoffmcl
Copy link
Contributor

@openbu-owner, thank you for the issue...

In our case, the first support must come from a W3C REC...

In an initial tests, when I put such a src to the W3C validator, I get -

Error: Bad value ./<%= Logo1 %>.png for attribute src on element img: Illegal character in path segment: < is not allowed.
From line 9, column 1; to line 9, column 46
body><p><img src="./<%= Logo1 %>.png" alt="EJS #842"/></p>

So, closing this for now, but feel free to provide the required W3C REC that supports this...

It could be re-opened for discussion... consideration... etc.... thanks...

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

No branches or pull requests

2 participants