aboutsummaryrefslogtreecommitdiffhomepage
path: root/lib/sisu/develop/html_lite_shared.rb
diff options
context:
space:
mode:
authorRalph Amissah <ralph@amissah.com>2015-01-07 19:04:46 -0500
committerRalph Amissah <ralph@amissah.com>2015-01-07 22:42:40 -0500
commit881e80ccce53136652b269aa34b6c7cb6ceb34ca (patch)
treee87f7292914f2b5cf90ebc7fc8b4fd4483cc4289 /lib/sisu/develop/html_lite_shared.rb
parentc&d: small fixes (diff)
c&d: html, ocn link back to self reinstated
* requested, used as quick means to get object url reference link * d: removed ocn_html_identifier variable, unnecessary in html5 (requirement previously forced by html4)
Diffstat (limited to 'lib/sisu/develop/html_lite_shared.rb')
-rw-r--r--lib/sisu/develop/html_lite_shared.rb3
1 files changed, 1 insertions, 2 deletions
diff --git a/lib/sisu/develop/html_lite_shared.rb b/lib/sisu/develop/html_lite_shared.rb
index 65c0537d..5c74fa85 100644
--- a/lib/sisu/develop/html_lite_shared.rb
+++ b/lib/sisu/develop/html_lite_shared.rb
@@ -75,7 +75,6 @@ module SiSU_FormatShared
else @@hname
end
@tab="\t"
- @ocn_html_identifier=SiSU_Env::ProcessingSettings.new(@md).ocn_html_identifier
@@tablehead,@@tablefoot=[],[]
@env=SiSU_Env::InfoEnv.new(@md.fns)
@base_url="#{@env.url.root}/#{@md.fnb}/#{@hname}.html"
@@ -204,7 +203,7 @@ GSUB
%{<p class="#{h[:class]}" type="#{h[:type]}">#{h[:txt]}</a></p>\n} << "\n"
end
def lev_toc_hname
- %{<p class="toc#{@lv}" header="#{@hname}"><a href="##{@ocn_html_identifier}#{@ocn}">#{@txt}</a></p>\n} #<< "\n"
+ %{<p class="toc#{@lv}" header="#{@hname}"><a href="##{@ocn}">#{@txt}</a></p>\n} #<< "\n"
end
def lev_toc
h={ txt: txt, class: "toc#{@lv}", type: 'toc' }