From 3bf42456e099d1be3c3f2966a560d12762e755e0 Mon Sep 17 00:00:00 2001
From: Ralph Amissah <ralph@amissah.com>
Date: Sat, 25 Sep 2010 21:42:00 -0400
Subject: texinfo_format, texinfo output broken, fix (Closes #598063)

---
 lib/sisu/v2/texinfo_format.rb | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/lib/sisu/v2/texinfo_format.rb b/lib/sisu/v2/texinfo_format.rb
index 53918e26..9e8afb10 100644
--- a/lib/sisu/v2/texinfo_format.rb
+++ b/lib/sisu/v2/texinfo_format.rb
@@ -175,7 +175,7 @@ WOK
       end
       if defined? @md.classify.subject \
       and @md.classify.subject=~/\S+/
-        subject=spec_char(@md.subject)
+        subject=spec_char(@md.classify.subject)
       end
       if defined? @md.notes.description \
       and @md.notes.description=~/\S+/
@@ -240,6 +240,8 @@ WOK
       end
       if defined? @md.rights.all \
       and @md.rights.all=~/\S+/
+        rights=spec_char(@md.rights.all)
+      end
       rights=spec_char(@md.rights.all)
       full_title="Title: #{full_title}\n\n" if full_title                           #dc
       author="Author: #{author}\n\n" if author                                      #dc
-- 
cgit v1.2.3