From f21af4b58d3b4e17dba1f907c99506472f1f4161 Mon Sep 17 00:00:00 2001
From: Ralph Amissah <ralph@amissah.com>
Date: Sat, 20 Oct 2007 15:04:09 +0100
Subject: dal, available shared output shortcut, adjustment needed for
 footnote/endnote

---
 lib/sisu/v0/dal.rb | 12 ++++++++----
 1 file changed, 8 insertions(+), 4 deletions(-)

(limited to 'lib')

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
-		"&nbsp;&nbsp;&nbsp;&nbsp; { #{describe} }#{@u.remote}/#{url_dir}/#{o_f} "
+                if describe =~/^~\^ /
+                  "&nbsp;&nbsp;&nbsp;&nbsp; {#{describe} }#{@u.remote}/#{url_dir}/#{o_f} "
+                else
+                  "&nbsp;&nbsp;&nbsp;&nbsp; { #{describe} }#{@u.remote}/#{url_dir}/#{o_f} "
+                end
               else
                 if describe =~/^~\^ /
-		  "&nbsp;&nbsp;&nbsp;&nbsp; {#{describe} }../#{url_dir}/#{o_f} "
-		else "&nbsp;&nbsp;&nbsp;&nbsp; { #{describe} }../#{url_dir}/#{o_f} "
-		end
+                  "&nbsp;&nbsp;&nbsp;&nbsp; {#{describe} }../#{url_dir}/#{o_f} "
+                else "&nbsp;&nbsp;&nbsp;&nbsp; { #{describe} }../#{url_dir}/#{o_f} "
+                end
               end
             end
           end
-- 
cgit v1.2.3