Skip to content

Commit b9f2987

Browse files
tijsverkoyennicolas-grekas
authored andcommitted
[TwigBridge] Use a div instead of p to prevent invalid HTML
1 parent 90a97b6 commit b9f2987

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Tests/AbstractLayoutTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -432,7 +432,7 @@ public function testHelp()
432432
$html = $this->renderHelp($view);
433433

434434
$this->assertMatchesXpath($html,
435-
'/p
435+
'/div
436436
[@id="name_help"]
437437
[@class="help-text"]
438438
[.="[trans]Help text test![/trans]"]

0 commit comments

Comments
 (0)