Commit Graph

142 Commits (bb71a21d91cced8b958ce8783ff4725e41cd5ac9)

Author SHA1 Message Date
Rich Harris 8d807be4b1 handle implicitly closed elements
10 years ago
Rich Harris c2cc5e5fb8 normalise CSS parse errors
10 years ago
Rich Harris ef4d7e2538 work around some css-tree quirks
10 years ago
Rich Harris a1b5f70d66 include CSS AST in svelte.parse output
10 years ago
Matt Steitle 3a9c3bba39 dontThrowParseErrorOnDoctypeDeclaration: Adding unit test for doctype tag
10 years ago
Rich-Harris d685b4a23d provide useful feedback on encountering void element closing tag
10 years ago
Rich-Harris 388a3e24a3 parse @id for keyed each blocks (#81)
10 years ago
Rich-Harris 7d520bd54a fix typo, disallow multiple style/script tags
10 years ago
Fabrice Weinberg bc54600b6d Make sure parser only allows unique attribute names
10 years ago
Rich Harris 1ba34f90ed Merge pull request #122 from sveltejs/each-else
10 years ago
Arpad Borsos a8462f3d11 add parser support for raw mustache tags
10 years ago
Arpad Borsos 4f81279b24 add each-else support to parser
10 years ago
Fabrice Weinberg 4a8d868e90 Parse {{yield}} as YieldTag
10 years ago
Rich-Harris d5defef584 use decodeCharacterReferences in text.js, not tag.js
10 years ago
Fabrice Weinberg d94858619b Convert entities of all text nodes
10 years ago
Rich Harris d802afb2db Merge pull request #70 from sveltejs/gh-64
10 years ago
Rich Harris b2000a467b handle trailing comments in script tags – closes #64
10 years ago
Arpad Borsos 25797a562e also trim whitespace from elseif/else blocks
10 years ago
Rich-Harris 817d371826 fix readUntil infinite loop bug
10 years ago
Rich-Harris 2741eee8bf bind:foo shorthand – closes #20
10 years ago
Rich-Harris b1b47696b1 implement elseif
10 years ago
Rich-Harris 77b600d726 add {{else}} tests
10 years ago
Rich-Harris 632a980948 wrap script block in IIFE to prevent pollution
10 years ago
Rich-Harris 370db7d269 scoped css
10 years ago
Rich-Harris 0d4728faf2 fix entities in attributes
10 years ago
Rich-Harris 4ce0f2fd58 handle unquoted attribute values
10 years ago
Rich-Harris 1eb3b7373e test inline expression parse errors
10 years ago
Rich-Harris 4e3e6a45b6 test leading whitespace in template
10 years ago
Rich-Harris a82b2e9e05 add parser.error coverage
10 years ago
Rich-Harris c205761fe1 rename .svelte to .html in test files - better idea i think
10 years ago
Rich-Harris 44a2fd31f6 refs
10 years ago
Rich-Harris fa60968ae1 basic two-way binding
10 years ago
Rich-Harris c02e849cb5 parse comments
10 years ago
Rich-Harris 7950d0a275 fix attributes with mustache tag as final chunk
10 years ago
Rich-Harris 8c8b6ccfa4 parse each block index
10 years ago
Rich-Harris 4a32e59f2e allow multiple attributes
10 years ago
Rich-Harris cb9b00254b more attribute parsing
10 years ago
Rich-Harris e3e91d45ea parse attributes
10 years ago
Rich-Harris 2f62a5aaca more whitespace stuff
10 years ago
Rich-Harris b59b33bf06 parse event handler directives
10 years ago
Rich-Harris 564ddba4bc parse <script> tags
10 years ago
Rich Harris a44398b0f1 snapshot
10 years ago