projects
/
booh
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
d3fb4a8
)
fix grouping inside parens for navigationtable, else navigation table is unclosed...
author
Guillaume Cottenceau
<gcottenc@gmail.com>
Mon, 1 Nov 2010 22:25:30 +0000
(23:25 +0100)
committer
Guillaume Cottenceau
<gcottenc@gmail.com>
Mon, 1 Nov 2010 22:25:30 +0000
(23:25 +0100)
bin/booh-backend
patch
|
blob
|
history
diff --git
a/bin/booh-backend
b/bin/booh-backend
index 473a8e2e269c4aece103cc1bd0a9e775f43eb85c..766083125cb9489dd6596652b7b19bbb91c2694e 100755
(executable)
--- a/
bin/booh-backend
+++ b/
bin/booh-backend
@@
-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'])))
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
else
html.gsub!(/~~ifnavigation\?~~(.+?)~~fi~~/, '')
end