mirror of
https://github.com/open-webui/open-webui
synced 2025-01-29 13:58:09 +00:00
Update config.py
This commit is contained in:
parent
fdb6499bfa
commit
32da2aa511
@ -83,8 +83,6 @@ for version in soup.find_all("h2"):
|
|||||||
# Find the next sibling that is a h3 tag (section title)
|
# Find the next sibling that is a h3 tag (section title)
|
||||||
current = version.find_next_sibling()
|
current = version.find_next_sibling()
|
||||||
|
|
||||||
print(current)
|
|
||||||
|
|
||||||
while current and current.name != "h2":
|
while current and current.name != "h2":
|
||||||
if current.name == "h3":
|
if current.name == "h3":
|
||||||
section_title = current.get_text().lower() # e.g., "added", "fixed"
|
section_title = current.get_text().lower() # e.g., "added", "fixed"
|
||||||
|
Loading…
Reference in New Issue
Block a user