I'm working on making my own template from scratch and for some reason, the tpl_youarehere() function prints a random "1" and a space after its output, even though there is nothing on the page that can do this.
This is the code behind the breadcrumb bar:
<!-- BREADCRUMB BAR -->
<div class="wiki_h__bcbar">
<?php if($conf['breadcrumbs']): ?>
<?php echo tpl_breadcrumbs() ?>
<?php elseif($conf['youarehere']): ?>
<?php echo tpl_youarehere() ?>
<?php endif ?>
</div>
If I comment out <?php echo tpl_youarehere() ?> then both the output and that accursed number disappears. This is confusing.
I am using the latest version of Chrome and Dokuwiki on a Stick. I seriously don't get what is with this '1'. It even prints it if I erase every other line of code in the file, and the only thing on the page is the output from tpl_youarehere(). Is this a bug?
Can provide entire main.php if necessary. It's not very long, and I am not going to continue adding to it until I fix this.