Skip to content

Conversation

@JakeQZ
Copy link
Collaborator

@JakeQZ JakeQZ commented Mar 31, 2020

In tests for AbstractHtmlProcessor, ignore whitespace differences in the outer
<html> element.

This will help with #831.

Also added test that the <body> content passed to fromHtml() is preserved
and returned by render().

@JakeQZ JakeQZ added the cleanup label Mar 31, 2020
@JakeQZ JakeQZ added this to the 4.0.0 milestone Mar 31, 2020
@JakeQZ JakeQZ requested a review from oliverklee March 31, 2020 22:13
@JakeQZ JakeQZ self-assigned this Mar 31, 2020
@JakeQZ JakeQZ force-pushed the tests/whitespace-agnostic-html branch from feee440 to 484339e Compare March 31, 2020 22:29
In tests for `AbstractHtmlProcessor`, ignore whitespace differences in the outer
`<html>` element.

This will help with #831.

Also added test that the `<body>` content passed to `fromHtml()` is preserved
and returned by `render()`.
@JakeQZ JakeQZ force-pushed the tests/whitespace-agnostic-html branch from 484339e to 46f765f Compare March 31, 2020 22:37
JakeQZ added 2 commits April 1, 2020 17:53
Rename `normalizeHtml` to `normalizeHtmlElement` and add return type annotation.
@oliverklee oliverklee merged commit f1696c6 into master Apr 1, 2020
@oliverklee oliverklee deleted the tests/whitespace-agnostic-html branch April 1, 2020 20:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants