[ALOY-4] HTML grammar does not support unmatched <link> tag
GitHub Issue | n/a |
---|---|
Type | Bug |
Priority | High |
Status | Closed |
Resolution | Fixed |
Resolution Date | 2012-07-19T11:52:05.000+0000 |
Affected Version/s | 2012 Sprint 14 |
Fix Version/s | 2012 Sprint 14 |
Components | XML |
Labels | n/a |
Reporter | Tony Lukasavage |
Assignee | Tony Lukasavage |
Created | 2012-05-22T09:48:46.000+0000 |
Updated | 2014-06-22T13:21:16.000+0000 |
Description
Valid syntax for specifying a tag, typically used for including external stylesheets, is like this:
<html>
<head>
<link rel="stylesheet" href="index.css">
</head>
<body></body>
</html>
The current HTML grammar and generated parser though expect all HTML tags to be self-closing or have an end tag. We need to adjust the grammar and regenerate the HTML parser to account for tag syntax.
[https://github.com/appcelerator/ZipTi/commit/3a1e682be87ef3498adcd5edc880b5cd17573386](https://github.com/appcelerator/ZipTi/commit/3a1e682be87ef3498adcd5edc880b5cd17573386)