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

Remove blank line after serializing doctype #206

Merged
merged 1 commit into from Apr 14, 2016

Conversation

@jaysonsantos
Copy link
Contributor

jaysonsantos commented Apr 14, 2016

As said here [1], the line break after the doctype is undesirable.

[1] servo/servo#10604 (comment)


This change is Reviewable

@jdm
Copy link
Member

jdm commented Apr 14, 2016

This matches my reading of https://html.spec.whatwg.org/multipage/syntax.html#serialising-html-fragments, which is good. Oddly, I don't see any historical reason for including the newline when looking at older revisions of the specification, even around the time that this was originally implemented.

@jdm
Copy link
Member

jdm commented Apr 14, 2016

@bors-servo
Copy link
Contributor

bors-servo commented Apr 14, 2016

📌 Commit 30aa406 has been approved by jdm

@bors-servo
Copy link
Contributor

bors-servo commented Apr 14, 2016

Testing commit 30aa406 with merge e67f971...

bors-servo added a commit that referenced this pull request Apr 14, 2016
Remove blank line after serializing doctype

As said here [1], the line break after the doctype is undesirable.

[1] servo/servo#10604 (comment)

<!-- Reviewable:start -->
---
This change is [<img src="https://reviewable.io/review_button.svg" height="35" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/html5ever/206)
<!-- Reviewable:end -->
@bors-servo
Copy link
Contributor

bors-servo commented Apr 14, 2016

☀️ Test successful - travis

@bors-servo bors-servo merged commit 30aa406 into servo:master Apr 14, 2016
2 checks passed
2 checks passed
continuous-integration/travis-ci/pr The Travis CI build passed
Details
homu Test successful
Details
@jaysonsantos jaysonsantos deleted the jaysonsantos:document-serializer branch Apr 15, 2016
@jaysonsantos
Copy link
Contributor Author

jaysonsantos commented Apr 15, 2016

Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked issues

Successfully merging this pull request may close these issues.

None yet

3 participants
You can’t perform that action at this time.