-
Notifications
You must be signed in to change notification settings - Fork 416
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update integration test to use valid HTML5
This change fixes a test in our suite broken by rails/rails#48523. Before the upstream change, invalid the invalid HTML5 in this test case was parsed without issue. The upstream change switched the Nokogiri parsing mode to HTML5, leading to parsing issues with our test case. I've converted all of the DOM nodes in this case into divs, preserving the intention of the test case but making it valid HTML5.
- Loading branch information
1 parent
70c88cf
commit bef72f2
Showing
3 changed files
with
3 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,2 @@ | ||
%span.bar | ||
%div.bar | ||
= render "haml_partial" |
2 changes: 1 addition & 1 deletion
2
test/sandbox/app/views/integration_examples/nested_haml.html.haml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,3 @@ | ||
%p.foo | ||
%div.foo | ||
= "Hello, world!" | ||
= render(PartialHamlComponent.new) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters