From 499915f267e3d521905eb8edd0b602d9ffd73022 Mon Sep 17 00:00:00 2001 From: Peter Andersson Date: Tue, 3 Jun 2014 16:35:36 +0200 Subject: Fix problem with mismatching html tags when running basic_html log mode --- lib/common_test/src/ct_logs.erl | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) (limited to 'lib/common_test/src') diff --git a/lib/common_test/src/ct_logs.erl b/lib/common_test/src/ct_logs.erl index a4ad65c0a4..6fc8f9f3b9 100644 --- a/lib/common_test/src/ct_logs.erl +++ b/lib/common_test/src/ct_logs.erl @@ -1304,7 +1304,8 @@ total_row(Success, Fail, UserSkip, AutoSkip, NotBuilt, All) -> "",integer_to_list(AllSkip), " (",UserSkipStr,"/",AutoSkipStr,")\n", "",integer_to_list(NotBuilt),"\n", - AllInfo, "\n\n"]. + AllInfo, "\n", + xhtml("","\n")]. not_built(_BaseName,_LogDir,_All,[]) -> 0; @@ -1519,7 +1520,8 @@ all_suites_index_footer() -> xhtml("

\n", "

\n") | footer()]. all_runs_index_footer() -> - ["\n\n", + [xhtml("", "\n"), + "\n", "\n", xhtml("

\n", "

\n") | footer()]. @@ -1676,7 +1678,7 @@ config_table(Vars) -> config_table_header() -> [ xhtml(["

Configuration

\n" - "\n"], ["

CONFIGURATION

\n", "
\n", "\n"]), @@ -1692,7 +1694,7 @@ config_table1([{Key,Value}|Vars]) -> "\n\n"]) | config_table1(Vars)]; config_table1([]) -> - ["\n
", io_lib:format("~p",[Value]), "
\n"]. + [xhtml("","\n"),"\n"]. make_all_runs_index(When) -> -- cgit v1.2.3