Codedformatter html as xml
-
- CodeLite Enthusiast
- Posts: 41
- Joined: Mon May 22, 2017 12:06 pm
- Genuine User: Yes
- IDE Question: C++
- Contact:
Codedformatter html as xml
Would it make sense to format html via the xml formatter code path, or is there something about html that it's not able to handle (implicit self closing tags maybe?)?
- eranif
- CodeLite Plugin
- Posts: 6375
- Joined: Wed Feb 06, 2008 9:29 pm
- Genuine User: Yes
- IDE Question: C++
- Contact:
Re: Codedformatter html as xml
The XML is using wxXmlDoducment class which when saving the document formats it.
I suspect it won't be able to handle HTML - because of the differences between HTML and XML (e.g. <hr> has no closing tag)
I suspect it won't be able to handle HTML - because of the differences between HTML and XML (e.g. <hr> has no closing tag)
Make sure you have read the HOW TO POST thread
-
- CodeLite Enthusiast
- Posts: 41
- Joined: Mon May 22, 2017 12:06 pm
- Genuine User: Yes
- IDE Question: C++
- Contact:
Re: Codedformatter html as xml
Your probably right, and trying to use it would be non user-friendly if it's not clear why it's able to format some html documents (xml compatible) but not others.