diff options
Diffstat (limited to 'lib')
-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 |