This is a little off topic, but I need a suggestion about some odd behaviour I am getting when parsing the text within the markup.
<div>The problem is illustrated here <a href="http://kiwiwiki.co.nz/pmwiki/pmwiki.php/Test/ChordPro">http://kiwiwiki.co.nz/pmwiki/pmwiki.php/Test/ChordPro</a> (see the very first example), note there is a lot of debug output to show what is going on. (source is attached to the page)</div>
<div><br></div><div>The problem is that instead of a a line being blank it seems to contain some consistent junk characters.</div><div>Oddly they don&#39;t affect the recipe output (ie they don&#39;t display),</div><div>but they affect the string length (9) and show when you convert the string to hex. [<span class="Apple-style-span" style="font-family: sans-serif, Helvetica, sans-serif; font-size: 15px; line-height: 19px; -webkit-border-horizontal-spacing: 2px; -webkit-border-vertical-spacing: 2px; "><span class="songdebug" style="font-size: x-small; color: red; ">-&lt;</span><span class="songdebug" style="font-size: x-small; color: red; ">-:</span><span class="songdebug" style="font-size: x-small; color: red; ">-v</span><span class="songdebug" style="font-size: x-small; color: red; ">-s</span><span class="songdebug" style="font-size: x-small; color: red; ">-p</span><span class="songdebug" style="font-size: x-small; color: red; ">-a</span><span class="songdebug" style="font-size: x-small; color: red; ">-c</span><span class="songdebug" style="font-size: x-small; color: red; ">-e</span><span class="songdebug" style="font-size: x-small; color: red; ">-&gt;</span> <span class="songdebug" style="font-size: x-small; color: red; ">Lyric: type=0 &quot;3c3a7673706163653e&quot; len=9]</span></span></div>
<div>This only happens when the line is supposed to be empty.</div><div><br></div><div>I have eyeballed the recipe to death, not to mention the debugging output,</div><div>but being a php newbie I&#39;m wondering if there is something obvious I am missing?</div>
<div><br></div><div>Any suggestions you could give me would be greatly appreciated</div><div><br></div><div>thanks in advance</div><div><br></div><div>Simon</div>