Board Thread:Support Requests - Getting Technical/@comment-24531999-20160417184817

My wiki has a template that allows users to display their achievements in the game that is the wiki's topic. Recently, another editor and I have been trying to make an addition to the template. The template creates a multi-page box. We recently added two pages in the form of Template:MyEconomy/Page1 and Template:MyEconomy/Page2. As you can see on my testing page something in these pages is breaking the HTML and leaving orphan closing tags. I have looked over the new pages (this seems to be where the error is) several times, and I cannot seem to find a problem with the functions. I need another eye to see if they can spot the problem. I imagine it is something fairly simple, but I am just not seeing it. 