You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
As best as I can see, when the plugin does its magic, it also strips all the indentation from the HTML in the process. Is there a way to stop it from doing that? I prefer having the indentation in my HTML (it helps me read it better) - is there a way to have it not strip the tabs out?
The text was updated successfully, but these errors were encountered:
I continued digging around in the plugin code and the BS4 documentation, and found that at the end of the "harvest_feed_images" function, if you change f.write(str(soup)) to f.write(str(soup.prettify())) , it does a decent job of indenting the HTML output. Not absolutely perfect, but way better than the flat output.
Maybe this could be added as an option setting in the plugin?
As best as I can see, when the plugin does its magic, it also strips all the indentation from the HTML in the process. Is there a way to stop it from doing that? I prefer having the indentation in my HTML (it helps me read it better) - is there a way to have it not strip the tabs out?
The text was updated successfully, but these errors were encountered: