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

Script tag breaks if there is whitespace before the closing tag. #40

Closed
charrondev opened this issue Dec 15, 2017 · 1 comment
Closed

Comments

@charrondev
Copy link

charrondev commented Dec 15, 2017

Given:

<script src="/js/app/lib-core-app.js"></script>
<script src="/js/app/core-app.js"></script>

I would expect the output to be the same. Instead the closing tag is ignored and the resulting html output it broken.

I currently have to insert a whitespace character before the beginning and closing tags.

<script src="/js/app/lib-core-app.js"> </script>
<script src="/js/app/core-app.js"> </script>
@charrondev charrondev changed the title Script tag breaks if closing tag is on the same line. Script tag breaks if there is whitespace before the closing tag. Dec 15, 2017
@slafleche
Copy link

Duplicate: #28

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