From 643cc5c5e8ac2d279d84c60f532c8d430387e985 Mon Sep 17 00:00:00 2001 From: Ralph Amissah Date: Wed, 1 Jul 2009 13:43:41 -0400 Subject: minor fixes and touches --- lib/sisu/v0/shared_html_lite.rb | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) (limited to 'lib/sisu/v0/shared_html_lite.rb') diff --git a/lib/sisu/v0/shared_html_lite.rb b/lib/sisu/v0/shared_html_lite.rb index d1e312e1..7fe77e0b 100644 --- a/lib/sisu/v0/shared_html_lite.rb +++ b/lib/sisu/v0/shared_html_lite.rb @@ -22,7 +22,7 @@ This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or - FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for + FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with @@ -65,7 +65,7 @@ module SiSU_Format_Shared @@fns=nil def initialize(md,t_o) @md,@t_o=md,t_o - if t_o.class == Hash + if t_o.class==Hash @txt =t_o[:txt] #|| nil #s/@content/@txt/ @col =t_o[:col] #|| nil @notenumber =t_o[:endnote_nr] || nil @@ -79,9 +79,8 @@ module SiSU_Format_Shared p t_o.class p caller end - @txt.gsub!(/#{Mx[:pa_o]}:i[1-9]#{Mx[:pa_c]}/,'') - @id=@ocn=@col[:id] + @id=@ocn=@col[:ocn] @ocnd,@ocns=@col[:ocnd],@col[:ocns] @lv=@col[:lev].to_s @@hname=if @md.fns != @@fns -- cgit v1.2.3