aboutsummaryrefslogtreecommitdiffhomepage
path: root/lib/sisu/v6
diff options
context:
space:
mode:
authorRalph Amissah <ralph@amissah.com>2014-10-12 10:40:09 -0400
committerRalph Amissah <ralph@amissah.com>2014-10-12 10:40:09 -0400
commit710370599b0f3f8c8ce4bc7a1ebcbbc880c9b0f3 (patch)
tree7c1411c696f39d6bbb68f6b812d3e064d8abe33b /lib/sisu/v6
parentv5 v6: html_format, label, re: object number object names (diff)
v5 v6: html, epub, set document body language
Diffstat (limited to 'lib/sisu/v6')
-rw-r--r--lib/sisu/v6/html_format.rb4
-rw-r--r--lib/sisu/v6/html_manifest.rb2
-rw-r--r--lib/sisu/v6/xhtml_epub2_format.rb6
3 files changed, 6 insertions, 6 deletions
diff --git a/lib/sisu/v6/html_format.rb b/lib/sisu/v6/html_format.rb
index 61fedba1..a8e3fa28 100644
--- a/lib/sisu/v6/html_format.rb
+++ b/lib/sisu/v6/html_format.rb
@@ -422,7 +422,7 @@ WOK
#{rdf.metatag_html}
#{@stylesheet.css_head}
</head>
-#{@vz.color_body}
+<body lang="#{@md.opt.lng}">
<a name="top" id="top"></a>}
end
def concordance
@@ -824,7 +824,7 @@ WOK
#{rdf.metatag_html}
#{@stylesheet.css_head_seg}
</head>
-#{@vz.color_body}
+<body lang="#{@md.opt.lng}">
<a name="top" id="top"></a>}
end
def title_banner(title,subtitle,creator)
diff --git a/lib/sisu/v6/html_manifest.rb b/lib/sisu/v6/html_manifest.rb
index 1ac7f4d4..3cc41b10 100644
--- a/lib/sisu/v6/html_manifest.rb
+++ b/lib/sisu/v6/html_manifest.rb
@@ -901,7 +901,7 @@ SiSU manifest: #{@md.title.full}
<link rel="shortcut icon" href="#{@f.path_rel_links.html_scroll_css}_sisu/image_sys/rb7.ico" />
#{@stylesheet.css_head}
</head>
-<body lang="en" xml:lang="en">
+<body lang="#{@md.opt.lng}">
#{format_head_toc.seg_head_navigation_band(:manifest)}
WOK
if make.build.manifest_minitoc?
diff --git a/lib/sisu/v6/xhtml_epub2_format.rb b/lib/sisu/v6/xhtml_epub2_format.rb
index d654937e..73c5a1ab 100644
--- a/lib/sisu/v6/xhtml_epub2_format.rb
+++ b/lib/sisu/v6/xhtml_epub2_format.rb
@@ -1330,7 +1330,7 @@ application/epub+zip
<meta http-equiv='Content-Type' content='text/html; charset=utf-8' />
#{@css.xhtml_epub}
</head>
- #{@vz.color_body}
+ <body lang="#{@md.opt.lng}">
<div class="content">
<div class="substance">
<label class="ocn"><a href="#o#{dob.ocn}" class="lnkocn">#{dob.ocn}</a></label>
@@ -1753,7 +1753,7 @@ output_epub_cont_seg.close
<meta http-equiv='Content-Type' content='text/html; charset=utf-8' />
#{@css.xhtml_epub}
</head>
- #{@vz.color_body}}
+ <body lang="#{@md.opt.lng}">}
end
def concordance
if @md.concord_make
@@ -1837,7 +1837,7 @@ output_epub_cont_seg.close
<meta http-equiv='Content-Type' content='text/html; charset=utf-8' />
#{@css.xhtml_epub}
</head>
- #{@vz.color_body}}
+ <body lang="#{@md.opt.lng}">}
end
def endnote_mark
%{