You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on May 30, 2023. It is now read-only.
PhantomJS decides to close up all of the elements following the first non-self-closed script tag it encounters (i.e. <script .. />). Using the prepackaged mac binary, v1.9, I get the following:
Script:
var page = require('webpage').create();
var content = "<html><head><script src='http://localhost/dashboard.js'></script><script></script></head><body>this is a test</body></html>"
page.setContent(content, "http://localhost/");
console.log(page.content);
Due to our very limited maintenance capacity, we need to prioritize our development focus on other tasks. Therefore, this issue will be automatically closed (see #15395 for more details). In the future, if we see the need to attend to this issue again, then it will be reopened. Thank you for your contribution!
PhantomJS decides to close up all of the elements following the first non-self-closed script tag it encounters (i.e.
<script .. />
). Using the prepackaged mac binary, v1.9, I get the following:Script:
Output:
If I change any one of the following, it seems to work:
<script />
)The text was updated successfully, but these errors were encountered: