I use lxml to programmatically build HTML, and I need to include a custom comment in the output. Despite the fact that the code in lxml handles comments (they can be created by analyzing existing HTML code), I canβt find a way to create an instance of one programmatically.
Can anyone help?
source share