diff options
Diffstat (limited to 'lib/sisu/v0/shared_html_lite.rb')
-rw-r--r-- | lib/sisu/v0/shared_html_lite.rb | 7 |
1 files changed, 3 insertions, 4 deletions
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 |