diff --git a/mod_webpresence/src/mod_webpresence.erl b/mod_webpresence/src/mod_webpresence.erl index 7cc0c42..99b3af7 100644 --- a/mod_webpresence/src/mod_webpresence.erl +++ b/mod_webpresence/src/mod_webpresence.erl @@ -1103,17 +1103,17 @@ do_stat_table_with(Values, Total) -> do_table_element(L, [N], Perc) -> ?XE(<<"tr">>, [?XE(<<"td">>, [L]), - ?XAC(<<"td">>, [{<<"class">>, <<"alignright">>}], [N]), + ?XAC(<<"td">>, [{<<"class">>, <<"alignright">>}], ?BC(N)), ?XE(<<"td">>, [?XAE(<<"div">>, [{<<"class">>, <<"graph">>}], [?XAC(<<"div">>, - [{<<"class">>, <<"bar">>}, {<<"style">>, ?BC([<<"width: ">>, Perc, <<"%;">>])}], - [] + [{<<"class">>, <<"bar">>}, {<<"style">>, ?BC(["width: ", Perc, "%;"])}], + <<>> )] )] ), - ?XAC(<<"td">>, [{<<"class">>, <<"alignright">>}], [?BC([Perc, <<"%">>])]) + ?XAC(<<"td">>, [{<<"class">>, <<"alignright">>}], ?BC([Perc, "%"])) ]). css_table()->