Jump to content
David Schwartz

formatting HTML code

Recommended Posts

This site https://htmlformatter.com/ does an awesome job of taking a huge glom of unformatted HTML and pretty-printing it so it's super-readable.


Are there any components that can do that in Delphi?


You'd give it a string or stringstream, and it formats it into another string or stringstream or TStringList (eg., a TMemo)


All I can find in Google is how to format Delphi (pascal) code.

Share this post

Link to post

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now