aboutsummaryrefslogtreecommitdiffhomepage
path: root/lib/sisu/v6/sysenv.rb
diff options
context:
space:
mode:
authorRalph Amissah <ralph@amissah.com>2014-02-05 00:44:13 -0500
committerRalph Amissah <ralph@amissah.com>2014-02-05 00:45:59 -0500
commite74053c57b5c3bbd7f4f3676b5a6e867783af6ed (patch)
tree63afa9f5cbd0547128c6d107d3eceb5f9ee2d88a /lib/sisu/v6/sysenv.rb
parentv5 v6: html, name tag related (output "cleaning") (diff)
v5 v6: options, html --strict instruction
Diffstat (limited to 'lib/sisu/v6/sysenv.rb')
-rw-r--r--lib/sisu/v6/sysenv.rb13
1 files changed, 13 insertions, 0 deletions
diff --git a/lib/sisu/v6/sysenv.rb b/lib/sisu/v6/sysenv.rb
index 8f40212b..10de1fdd 100644
--- a/lib/sisu/v6/sysenv.rb
+++ b/lib/sisu/v6/sysenv.rb
@@ -3905,6 +3905,19 @@ WOK
true
end
end
+ def html_strict?
+ if cmd_rc_act[:html_strict][:set]==:on
+ true
+ elsif cmd_rc_act[:html_strict][:set]==:off
+ false
+ elsif doc_rc.is_a?(Method) \
+ and defined? doc_rc.html_strict? \
+ and doc_rc.html_strict? ==:on
+ true
+ else
+ false
+ end
+ end
def toc?
if cmd_rc_act[:toc][:set]==:on
true