Francois Gouget : testbot/web: Add some </div> comments identifying the corresponding <div>.
Module: tools Branch: master Commit: a0078ae5726a27ec5b701b18edfcd7a4883293ab URL: https://source.winehq.org/git/tools.git/?a=commit;h=a0078ae5726a27ec5b701b18... Author: Francois Gouget <fgouget(a)codeweavers.com> Date: Wed Aug 22 10:58:50 2018 +0200 testbot/web: Add some </div> comments identifying the corresponding <div>. This helps debug HTML tag balancing errors. Signed-off-by: Francois Gouget <fgouget(a)codeweavers.com> Signed-off-by: Alexandre Julliard <julliard(a)winehq.org> --- testbot/lib/ObjectModel/CGI/FormPage.pm | 4 ++-- testbot/lib/WineTestBot/CGI/PageBase.pm | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/testbot/lib/ObjectModel/CGI/FormPage.pm b/testbot/lib/ObjectModel/CGI/FormPage.pm index b3861dd..3a41fe0 100644 --- a/testbot/lib/ObjectModel/CGI/FormPage.pm +++ b/testbot/lib/ObjectModel/CGI/FormPage.pm @@ -128,8 +128,8 @@ sub GenerateBody($) { print "<p>$Text</p>\n"; } - print "</div>\n"; - print "</div>\n"; + print "</div><!--Content-->\n"; + print "</div><!--ItemBody-->\n"; } sub GenerateFormStart($) diff --git a/testbot/lib/WineTestBot/CGI/PageBase.pm b/testbot/lib/WineTestBot/CGI/PageBase.pm index 67e8fc8..e5b2f2d 100644 --- a/testbot/lib/WineTestBot/CGI/PageBase.pm +++ b/testbot/lib/WineTestBot/CGI/PageBase.pm @@ -327,10 +327,10 @@ sub GenerateFooter($) my ($self) = @_; print <<EOF; - </div> + </div><!--ContentContainer--> <b class="rbottom"><b class="r4"> </b><b class="r3"> </b><b class="r2"> </b><b class="r1"> </b></b> </div> -</div> +</div><!--main_content--> </body> </html>
participants (1)
-
Alexandre Julliard