Closed unverbuggt closed 2 years ago
Hey,
Your diagnosis is correct. When there is only a single style BS4 returns a string and not a list. I couldn't found the commit related to inserting this bug, I think it has been present since the beginning...
I fixed the bug in version 2.3.1
Thanks for your repport :)
Hi,
I use encrypted_something to encrypt the menu and and toc of an encrypted page like this:
these divs do not have much more functionality than to find and encrypt them:
mkdocs build
exits like this:the line 392 in
plugin.py
reads:and I do believe it is a bug and should be:
I do believe the div causing the trouble is the first one (myNav).
it has the attribure "style", but only one style defined (and beautifulsoup doesn't make a list out of it?).