diff --git a/pyproject.toml b/pyproject.toml index 6f3bfb5..b3dd5ed 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,6 +1,6 @@ [project] name = "wikidot" -version = "3.0.6" +version = "3.0.7" authors = [{ name = "ukwhatn", email = "ukwhatn@gmail.com" }] description = "Wikidot Utility Library" readme = "README.md" diff --git a/src/wikidot/module/page.py b/src/wikidot/module/page.py index 550effd..26bc6f7 100644 --- a/src/wikidot/module/page.py +++ b/src/wikidot/module/page.py @@ -178,7 +178,7 @@ def search_pages(site: "Site", query: SearchPagesQuery = SearchPagesQuery()): query_dict = query.as_dict() query_dict["moduleName"] = "list/ListPagesModule" query_dict["module_body"] = ( - '[[div class="page"]]' + '[[div class="page"]]\n' + "".join( [ f'[[span class="set {key}"]]' @@ -188,7 +188,7 @@ def search_pages(site: "Site", query: SearchPagesQuery = SearchPagesQuery()): for key in DEFAULT_MODULE_BODY ] ) - + "[[/div]]" + + "\n[[/div]]" ) try: