This might be old news for some (or most?) Publii enthusiasts, but since I’ve just stumbled upon it and this blog is my own space, I’m going to note it here. It turns out that Publii’s nifty processing magic does a pretty solid job of fixing HTML errors (or at least some of them) behind the scenes. I did a bit of playing around by inserting some <div>, <a>, and <span> tags into the files of the Publii theme I’m using and then “forgetting” to close them with </div>, </a>, and </span>. Guess what? The resulting HTML generated by Publii had all the correct closing tags in all the right places.