fix grouping inside parens for navigationtable, else navigation table is unclosed...
authorGuillaume Cottenceau <gcottenc@gmail.com>
Mon, 1 Nov 2010 22:25:30 +0000 (23:25 +0100)
committerGuillaume Cottenceau <gcottenc@gmail.com>
Mon, 1 Nov 2010 22:25:30 +0000 (23:25 +0100)
bin/booh-backend

index 473a8e2..7660831 100755 (executable)
@@ -650,7 +650,7 @@ def substitute_navigation(html, xmldir)
         end
         html.gsub!(/~~ifnavigation\?~~(.+?)~~fi~~/) { $1 }
         html.gsub!(/~~navigation~~/, nav + (xmldir.attributes['subdirs-caption'] || File.basename(xmldir.attributes['path'])))
-        html.gsub!(/~~navigationtable~~/, navtable + "<td>" + (xmldir.attributes['subdirs-caption'] || File.basename(xmldir.attributes['path']) + "</td></tr></table>"))
+        html.gsub!(/~~navigationtable~~/, navtable + "<td>" + (xmldir.attributes['subdirs-caption'] || File.basename(xmldir.attributes['path'])) + "</td></tr></table>")
     else
         html.gsub!(/~~ifnavigation\?~~(.+?)~~fi~~/, '')
     end