From a69174130de52fa28b02ace087c03d7ec7553b54 Mon Sep 17 00:00:00 2001 From: Ralph Amissah Date: Sat, 25 Sep 2010 22:56:31 -0400 Subject: texinfo ocn decoration a hash (instead of angle braces) (+changelog) --- lib/sisu/v2/texinfo.rb | 4 ++-- lib/sisu/v2/texinfo_format.rb | 8 ++++---- 2 files changed, 6 insertions(+), 6 deletions(-) (limited to 'lib') diff --git a/lib/sisu/v2/texinfo.rb b/lib/sisu/v2/texinfo.rb index 871a2b3e..bcff4915 100644 --- a/lib/sisu/v2/texinfo.rb +++ b/lib/sisu/v2/texinfo.rb @@ -315,8 +315,8 @@ module SiSU_TexInfo dob.obj=nil else if dob.is=='para' \ - and dob.obj !~/<#{dob.ocn}>/ - dob.obj="#{dob.obj} <#{dob.ocn}>" + and dob.obj !~/##{dob.ocn}/ + dob.obj="#{dob.obj} ##{dob.ocn}" end end end diff --git a/lib/sisu/v2/texinfo_format.rb b/lib/sisu/v2/texinfo_format.rb index 9e8afb10..a17fdb65 100644 --- a/lib/sisu/v2/texinfo_format.rb +++ b/lib/sisu/v2/texinfo_format.rb @@ -295,8 +295,8 @@ WOK end def clean(dob) if dob.is=='heading' \ - and dob.obj !~/<#{dob.ocn}>/ - dob.obj="#{dob.obj} <#{dob.ocn}>" + and dob.obj !~/##{dob.ocn}/ + dob.obj="#{dob.obj} ##{dob.ocn}" end dob.obj.gsub!(/<:#>/,'') dob.obj.strip! @@ -559,8 +559,8 @@ WOK end def clean(dob,txt) if dob.is=='heading' \ - and txt !~/<#{dob.ocn}>/ - txt="#{dob.obj} <#{dob.ocn}>" + and txt !~/##{dob.ocn}/ + txt="#{dob.obj} ##{dob.ocn}" end txt.gsub!(/<:#>/,'') txt.strip! -- cgit v1.2.3