Skip to content

Commit

Permalink
Fix: Not being able to see other content on the main page
Browse files Browse the repository at this point in the history
  • Loading branch information
Linbreux committed Dec 8, 2023
1 parent 0e0823e commit 2cb2b31
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions plugins/embed-pages/embed-pages.py
Original file line number Diff line number Diff line change
Expand Up @@ -49,10 +49,9 @@ def search_for_page_implementation(self, file: str) -> str:
return file

integrate_html = f"<div id=\"{page}\" class=\"html-integration\"><p><i>{page}</i></p>{raw_page_html}</div>"
print(page)

# integrate the page into this one.
result = re.sub("\<p\>\[\[\s*page: "+page+"\s*\]\]\<\/p\>", file, integrate_html)
result = re.sub(r"\<p\>\[\[\s*page:\s*"+page+r"\s*\]\]\<\/p\>", integrate_html, result)

return result

0 comments on commit 2cb2b31

Please sign in to comment.