Dec-12-2023, 10:11 AM
(Dec-11-2023, 09:19 PM)Gribouillis Wrote: I think you should generate unformatted html code, then process it withbs4.BeautifulSoup.prettify()
Custom formatters can be created to alter the result ofprettify()
Thanks @Gribouillis, actually I generated the most of my pages with Jinja..
I've never used
BeautifulSoup
so If I understand correctly I could create the HTML Tag / structure trough BeautifulSoup
? correct ? IS it better (do we have the hand of all the option the provide the HTML tag ?Thanks.