aboutsummaryrefslogtreecommitdiffhomepage
path: root/lib/sisu/v5/html_format.rb
diff options
context:
space:
mode:
authorRalph Amissah <ralph@amissah.com>2014-10-19 21:10:14 -0400
committerRalph Amissah <ralph@amissah.com>2014-10-19 21:11:09 -0400
commit41ad83d4cdb6c27054bd69977f9640b56c220520 (patch)
tree0fbcbd2daa015d87fc8d92362612c352b34ec581 /lib/sisu/v5/html_format.rb
parentv5 v6: html, remove trailing backslash for empty linebreak & paragraph, <br> <p> (diff)
v5 v6: html_format, "id"s for objects & footnotes
Diffstat (limited to 'lib/sisu/v5/html_format.rb')
-rw-r--r--lib/sisu/v5/html_format.rb4
1 files changed, 1 insertions, 3 deletions
diff --git a/lib/sisu/v5/html_format.rb b/lib/sisu/v5/html_format.rb
index b0611508..78080878 100644
--- a/lib/sisu/v5/html_format.rb
+++ b/lib/sisu/v5/html_format.rb
@@ -71,10 +71,8 @@ module SiSU_HTML_Format
if @ocn.to_i==0 \
or @ocn.empty?
''
- elsif @make.build.html_strict?
- %{<label class="ocn">#{@ocn}</label>}
else
- %{<label class="ocn"><a name="#{@ocn}" class="lnkocn">#{@ocn}</a></label>}
+ %{<label class="ocn">#{@ocn}</label>}
end
else
''