Commit 5a1b2f92b42b12b2df27afae4168a579427d4f18
1 parent
032a2175
Fix a DOM bug under IE7
Showing
1 changed file
with
2 additions
and
2 deletions
Show diff stats
calexium_lib/web/CXM_making_a_web_site.anubis
| ... | ... | @@ -3650,7 +3650,7 @@ define Printable_tree |
| 3650 | 3650 | any_actioner(c,t,a,an,eo,ja,fn) then |
| 3651 | 3651 | format_actioner(cinfo,sn,c,t,a,an,eo,ja,fn,is_https), |
| 3652 | 3652 | any_foreign_link(options,url) then |
| 3653 | - ["<a href=\"",url,"\" ", format_text_options(options), " />"], | |
| 3653 | + ["<a href=\"",url,"\" ", format_text_options(options), "></a>"], // IE7 doesn't support the form <a href="..." /> | |
| 3654 | 3654 | any_foreign_link(options,url,name) then |
| 3655 | 3655 | ["<a href=\"",url,"\"><span ", format_text_options(options), ">",name,"</span></a>"], |
| 3656 | 3656 | any_private_download(url,name,extra_ext,action) then |
| ... | ... | @@ -4091,7 +4091,7 @@ define Printable_tree |
| 4091 | 4091 | html_page(title,metas,css_styles, css_files, js_files, body) then |
| 4092 | 4092 | if body is body(options,element) then |
| 4093 | 4093 | [ doctype_w3c_header, |
| 4094 | - "<html>\n", | |
| 4094 | + "<html xmlns=\"http://www.w3.org/1999/xhtml\">\n", | |
| 4095 | 4095 | "<head>\n", |
| 4096 | 4096 | add_css_styles(css_styles), |
| 4097 | 4097 | add_css_files(css_files), | ... | ... |