-
Notifications
You must be signed in to change notification settings - Fork 143
Don't assume script tags are always JS #88
Comments
So are you suggesting that we also look for a |
@50Wliu Ah. It's non-standard. It would definitely help though... |
Apparently the |
Actually, even with a ...
<META name=GENERATOR content="MSHTML 8.00.7601.18715"><LINK id=HDXStylesheet
rel=stylesheet type=text/css href="..\foocss\sp.css">
<SCRIPT type="text/vbscript">'--------------------------------------
'Scada RegCntl - Mode; Hialm Type; EUDesc;
'--------------------------------------
sub Scd_RegCntl_Mode_Hialm_EUDesc_OnUpdate(oSource,iLen)
dim sMode,sNMode,iHialmT, iAlmEnbState,oShape,oAlm
...
end sub</SCRIPT>
<BODY
style="BACKGROUND-COLOR: transparent; MARGIN: 0px; ZOOM: 1; FONT-SIZE: 12pt; OVERFLOW: auto">
... |
type is easier to handle. We'd just need to add a rule for it. |
I second this issue... HTML 5 says that omitting the |
Yes, it's horrible, but there are things (like Honeywell's Experion HMI WebBuilder) that produce and interpret HTML with
<script language=VBScript>
, and non-JS script tags cause this package to utterly fail to parse the rest of the file. Here's a truncated sample of what that would look like (note ellipses):Even GitHub's markdown preview hates this, but supporting it would make Atom applicable to other industries and to engineers who have to slog through such code-salads.
The text was updated successfully, but these errors were encountered: