No other plugins are using global_start, but my Downloads plugin was using cache_templates. I disabled that one, emptied my browser cache, but it made no difference.
I understand the idea that another template may not open or close properly, but in my tests I replace the template "$reference" with
all of the code from the actual referenced template. In theory the same code gets exported in the end, so any improperly opened or closed tags in the rest of the page should have the same affects, no?
I feel like I can't explain without a short,
fake example (because my actual code is very long):
If SHOWTHREADS contains:
Code:
<p>Unclosed p tag here
$navbar_forums
<p>hello world</p>
where the template "navbar_forums" contains this code:
Code:
<p>this is the new template</p>
Then the combined codes above ultimate displays in the browser such as:
Code:
Unclosed p tag here
this is the new template
hello world
Or
If I just wrote SHOWTHREADS as:
Code:
<p>Unclosed p tag here
<p>this is the new template</p>
<p>hello world</p>
It should still output exactly the same way in the browser, correct?