From a93074db2897ab6caa41720b1c99c774272cb007 Mon Sep 17 00:00:00 2001 From: Verneuil Julien Date: Fri, 1 May 2015 21:22:18 +0200 Subject: [PATCH] script type added to the page when using js_inline --- web/CXM_making_a_web_site.anubis | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/web/CXM_making_a_web_site.anubis b/web/CXM_making_a_web_site.anubis index 2a42491..4be4a2d 100644 --- a/web/CXM_making_a_web_site.anubis +++ b/web/CXM_making_a_web_site.anubis @@ -4637,7 +4637,10 @@ define Printable_tree js(jsf) then [add_js_files([jsf]) . _format_html_head(t, so_far)], js_inline(jsi) then - ["\n" . _format_html_head(t, so_far)], + if jsi is + { + script(type, _) then ["\n" . _format_html_head(t, so_far)], + } css(cssf) then ["\n" . _format_html_head(t, so_far)], css_inline(cssi) then -- libgit2 0.21.4