Skip to content

Commit

Permalink
refactors for #17 to get div children
Browse files Browse the repository at this point in the history
  • Loading branch information
WolfgangFahl committed Mar 14, 2021
1 parent 367a631 commit 9f72ccc
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion frontend/wikicms.py
Original file line number Diff line number Diff line change
Expand Up @@ -128,7 +128,7 @@ def doFilter(self,html,filterKeys):
if "parser-output" in filterKeys:
parserdiv=soup.find('div',{"class": "mw-parser-output"})
if parserdiv:
soup=parserdiv.children.__next__()
soup=parserdiv
pass
# https://stackoverflow.com/questions/5041008/how-to-find-elements-by-class
if "editsection" in filterKeys:
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
long_description = open('../../README.md').read()

setup(name='pyWikiCMS',
version='0.0.10',
version='0.0.11',
description='python implementation of a Mediawiki based Content Management System',
long_description=long_description,
long_description_content_type='text/markdown',
Expand Down

0 comments on commit 9f72ccc

Please sign in to comment.