1
0
mirror of https://github.com/cookiengineer/audacity synced 2025-04-30 15:49:41 +02:00

Remove unwanted empty 'catlinks' div that appears at bottom of the dumped Manual.

This commit is contained in:
windinthew 2013-01-10 14:27:55 +00:00
parent 6450fc4786
commit 884f3ef01d

View File

@ -189,6 +189,7 @@ def monobook_fix_html(doc, page_url):
doc = remove_tag(doc, '<div class="portlet" id="p-personal">', '</div>', '<div')
doc = remove_tag(doc, '<div id="p-search" class="portlet">', '</div>', '<div')
doc = remove_tag(doc, '<div class="portlet" id="p-editors">', '</div>', '<div')
doc = remove_tag(doc, '<div id=\'catlinks\' class=\'catlinks catlinks-allhidden\'>', '</div>', '<div')
#James also remove the page/discussion/source/history/ div.
doc = remove_tag(doc, '<li id="ca-', '</li>', '<li')