Forums

How to make HTML contnent with same tag in each line using Sed in python

Tools based on regular expressions are not a good fit for handling html. I would suggest using something like beautiful soup to parse the html and then have a look at the formatting options to see of you can output it in the format you want.