[SCM] live-manual branch, debian, updated. debian/2.0.0-1-28-g5d4fcc6

Ben Armstrong synrg at debian.org
Fri Dec 17 14:51:50 UTC 2010


The following commit has been merged in the debian branch:
commit 5d4fcc6ed0ad51aa619bc3b4ae17e0fa128c4a6c
Author: Ben Armstrong <synrg at debian.org>
Date:   Fri Dec 17 10:51:42 2010 -0400

    Fixing Metadata/Manifest removal to also apply to toc sidebar in multi page view.

diff --git a/manual/bin/fix-sisu-html.rb b/manual/bin/fix-sisu-html.rb
index 6d74b40..bf123ef 100755
--- a/manual/bin/fix-sisu-html.rb
+++ b/manual/bin/fix-sisu-html.rb
@@ -12,7 +12,7 @@ File.open(output_file,"w") do |o|
     # removing all tables with summaries (OK for current sisu output).
     # Change to use a custom pseudo class if anything more refined is needed.
     doc.css(%[table[summary]]).remove
-    toc=doc.css(%[h2,h4[class="toc"]]).each do |node|
+    toc=doc.css(%[h2,h4[class$="toc"]]).each do |node|
 	node.remove if node.inner_text.match(/Metadata|Manifest|SiSU/)
     end
     o.puts doc.to_html

-- 
live-manual



More information about the debian-live-changes mailing list