Skip to content
Browse files

Fixing a right to left language issue

  • Loading branch information...
1 parent 7427f13 commit c3425dd12884fa8300a3cf1802b5d310d0b03605 @santhoshtr committed
Showing with 6 additions and 1 deletion.
  1. +5 −0 ChangeLog
  2. +1 −1 wiki2cd.py
View
5 ChangeLog
@@ -1,2 +1,7 @@
+Version 0.2 2010-06-12 :
+ * Fix for missing images when image name contains special characters
+ * Remove unwanted sections of the page instead of hiding using css- pyquery used for this purpose
+ * Updated the tool for new vector theme of wikipedia
+
Version 0.1 2010-04-14 :
* Initial version
View
2 wiki2cd.py
@@ -240,7 +240,7 @@ def cleanup(page):
unwanted_divs = unwanted_sections_list.split(",")
for section in unwanted_divs:
document.remove(section.strip())
- return document.html().encode("utf-8")
+ return document.wrap('<div></div>').html().encode("utf-8")
if __name__ == '__main__':
if len(sys.argv)> 2:

0 comments on commit c3425dd

Please sign in to comment.
Something went wrong with that request. Please try again.