Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Form closing tag is moved to the end of an enclosing template #40

Closed
hubgit opened this issue Jan 31, 2015 · 2 comments
Closed

Form closing tag is moved to the end of an enclosing template #40

hubgit opened this issue Jan 31, 2015 · 2 comments

Comments

@hubgit
Copy link

hubgit commented Jan 31, 2015

var Parser = require('parse5').Parser;
var Serializer = require('parse5').Serializer;

var parser = new Parser();
var serializer = new Serializer();

var input = '<template><form><input name="q"></form><div>second</div></template>';
var fragment = parser.parseFragment(input);

console.log(serializer.serialize(fragment));

Expected:

<template><form><input name="q"></form><div>second</div></template>

Actual:

<template><form><input name="q"><div>second</div></form></template>
@inikulin
Copy link
Owner

inikulin commented Feb 3, 2015

Update v1.3.2 with this fix was pushed to npm.

@inikulin
Copy link
Owner

inikulin commented Feb 3, 2015

I've updated whacko as well

43081j pushed a commit to 43081j/parse5 that referenced this issue Dec 28, 2021
Bumps [@typescript-eslint/eslint-plugin](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/eslint-plugin) from 5.7.0 to 5.8.1.
- [Release notes](https://github.com/typescript-eslint/typescript-eslint/releases)
- [Changelog](https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/eslint-plugin/CHANGELOG.md)
- [Commits](https://github.com/typescript-eslint/typescript-eslint/commits/v5.8.1/packages/eslint-plugin)

---
updated-dependencies:
- dependency-name: "@typescript-eslint/eslint-plugin"
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
fb55 added a commit to fb55/html5lib-tests that referenced this issue Feb 28, 2022
Ms2ger pushed a commit to html5lib/html5lib-tests that referenced this issue Mar 11, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants