diff options
author | Ralph Amissah <ralph@amissah.com> | 2007-10-20 15:04:09 +0100 |
---|---|---|
committer | Ralph Amissah <ralph@amissah.com> | 2007-10-20 15:04:09 +0100 |
commit | f21af4b58d3b4e17dba1f907c99506472f1f4161 (patch) | |
tree | b04d4469390ea906b0506d025067de26f4f76418 /lib/sisu/v0/dal.rb | |
parent | dal todo with path to shared source; shared xml cosmetic (diff) |
dal, available shared output shortcut, adjustment needed for footnote/endnote
Diffstat (limited to 'lib/sisu/v0/dal.rb')
-rw-r--r-- | lib/sisu/v0/dal.rb | 12 |
1 files changed, 8 insertions, 4 deletions
diff --git a/lib/sisu/v0/dal.rb b/lib/sisu/v0/dal.rb index 5b21b33d..a9b319f1 100644 --- a/lib/sisu/v0/dal.rb +++ b/lib/sisu/v0/dal.rb @@ -401,12 +401,16 @@ module SiSU_DAL end if describe tuned_file_tmp << if @u.remote #to double space <:br> at beginning of entry - " { #{describe} }#{@u.remote}/#{url_dir}/#{o_f} " + if describe =~/^~\^ / + " {#{describe} }#{@u.remote}/#{url_dir}/#{o_f} " + else + " { #{describe} }#{@u.remote}/#{url_dir}/#{o_f} " + end else if describe =~/^~\^ / - " {#{describe} }../#{url_dir}/#{o_f} " - else " { #{describe} }../#{url_dir}/#{o_f} " - end + " {#{describe} }../#{url_dir}/#{o_f} " + else " { #{describe} }../#{url_dir}/#{o_f} " + end end end end |