Well-formed HTML

Is there a way to ensure the HTML is well-formed? An example would be instead of this:

<link rel="stylesheet" href="assets/bootstrap/css/bootstrap.min.css">
<img src="assets/img/LH-Logo.png" alt="LH Logo" />

use this:

<link rel="stylesheet" href="assets/bootstrap/css/bootstrap.min.css" />
<img src="assets/img/LH-Logo.png" alt="LH Logo" />

Well the forward slash at the end is actually for XHTML pages and the app makes HTML5 pages so I'd think there shouldn't really be the forward slash at all. Since XHTML is strict so it must have it there but HTML5 doesn't care so it causes no issue if it is or not. I'm sure your probably thinking to be more consistent with how it's done? I would sorta agree with that myself.

Saj

True, but my requirement is to generate XHTML strict elements. Anyway to change that in BSS?

I don't see any way in the app to change the DOCTYPE element nor any setting that will ensure open elements to close themselves. And short of using Custom Code component to write them manually I don't think that would be suffice. The Devs would have to add a setting of some sort to switch to XHTML in a projects settings for something like that. Adjusting the DOCTYPE to be a full XHTML DOCTYPE will make it no longer an HTML5 site. The browsers will not recognize the site as HTML5 so I'm not really sure what might happen. I doubt there'd really be anything, but if you miss something in XHTML your whole site kind of goes screwy or takes a bomb or something right? :)

Saj

The app builds Bootstrap code, which is all based on HTML5 so I doubt you will find that. What you "might" be able to do is probably right an export script (you'll have to see if someone who knows how to use those comes and helps with it as I don't have a clue lol). That might allow you to have it edit the code upon export to what you need.