Closed danlamanna closed 11 years ago
Is this happening simply by including /skewer
as a script or are you getting this while using skewer-html-mode? The code throwing the exception should only be executed when skewer-html-mode is in use.
You were right, running it from skewer-html-mode causes the error not to be thrown.
Though I'm still unsure why a file with these contents:
<head>
<script src="/skewer"></script>
</head>
<body>
<h1>foo</h1>
</body>
</html>
doesn't render the h1 but continues to render the skewer demo.
I open the file, M-x skewer-html-mode (demo opens up), then I run skewer-html-eval-tag on the html tag.
I'm closing this since it's been three months and I haven't been able to replicate the issue myself. If it's still a problem for you re-open or make a new issue.
From the latest version of Melpa as of this post.
Opening an html file with a script tag linking to /skewer causes the following error in Firefox:
[10:14:13.406] SyntaxError: An invalid or illegal string was specified @ http://127.0.0.1:8080/skewer:190
And in Chromium, this is the error:Uncaught Error: SyntaxError: DOM Exception 12 skewer:190