diff options
author | Ralph Amissah <ralph@amissah.com> | 2007-11-26 00:04:41 +0000 |
---|---|---|
committer | Ralph Amissah <ralph@amissah.com> | 2007-11-26 00:04:41 +0000 |
commit | bee31a900491cc7e22fd5630a07b646fedcaad28 (patch) | |
tree | b7758e9d73f33f92fae9017a9c783bcdfacdb6cc /lib/sisu/v0/dal.rb | |
parent | sisu-0.62.2 + md5s (diff) |
various small adjustments for 0.62.3
* html <hr> follows text, before footnotes (refine later)
* rsync remote images partial fix
* minor bug fix, related to error message passing, in texpdf and url
* sisu_manual version info
* vim ftplugin, status line info on cursor position modified
Diffstat (limited to 'lib/sisu/v0/dal.rb')
-rw-r--r-- | lib/sisu/v0/dal.rb | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/sisu/v0/dal.rb b/lib/sisu/v0/dal.rb index a9b319f1..2404577b 100644 --- a/lib/sisu/v0/dal.rb +++ b/lib/sisu/v0/dal.rb @@ -316,7 +316,7 @@ module SiSU_DAL def output_filetypes_in_cmd(cmd_shortcut,source=nil) #make list of file types in shortcut command (as configured), e.g. when sisu -3 is used cf_defaults=SiSU_Env::Info_processing_flag.new - cmd_list=case cmd_shortcut.to_s + cmd_list=case cmd_shortcut.inspect when /0/; cf_defaults.cf_0 when /1/; cf_defaults.cf_1 when /2/; cf_defaults.cf_2 @@ -752,9 +752,9 @@ module SiSU_DAL or @md.pagebreak) m=$1 #watch ref~ para_tmp=[] - if @md.pagenew.to_s =~/#{m}/; para_tmp << "<:pn>\n" << para + if @md.pagenew.inspect =~/#{m}/; para_tmp << "<:pn>\n" << para end - if @md.pagebreak.to_s =~/#{m}/; para_tmp << "<:pb>\n" << para + if @md.pagebreak.inspect =~/#{m}/; para_tmp << "<:pb>\n" << para end para_result=unless para_tmp.length > 0; para else para_tmp |