From 5fa75fec06d4bedc0b6a77bd32c7f97366fe6dc9 Mon Sep 17 00:00:00 2001 From: Cedric RICARD Date: Tue, 8 Jul 2008 17:23:47 +0000 Subject: [PATCH] Added CoreAttrib to Body_Option type --- calexium_lib/web/CXM_making_a_web_site.anubis | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/calexium_lib/web/CXM_making_a_web_site.anubis b/calexium_lib/web/CXM_making_a_web_site.anubis index a29502e..7dd34d5 100644 --- a/calexium_lib/web/CXM_making_a_web_site.anubis +++ b/calexium_lib/web/CXM_making_a_web_site.anubis @@ -1453,6 +1453,7 @@ public type HTML_Meta: public type Body_Option: + core_attrs(List(CoreAttrs)), background_color (RGB), background_image (String url), background_image (String url, List(BackgroundOption)). @@ -4139,9 +4140,10 @@ define Printable_tree ) = if o is { + core_attrs(core_attr_list) then [" " + format_attrs(core_attr_list)], background_color(c) then [" bgcolor=\"" , (String)html_format(c), "\""], background_image(n) then [" background=", n], - background_image(n,o2) then [" style=\"background: url(",n,")",format(o2),"\""] + background_image(n,o2) then [" style=\"background: url(",n,")",format(o2),"\""] }. -- libgit2 0.21.4