Hi,
I have an app that reads data from a form field and inserts it into an xml file. It works nicely except when I try to insert and parse out inline html code. for example:
<article id="2">
<step id="1">
<text>this is some <i>text</i>.</text>
</step>
</article>
I convert the tags with htmlspecialchars so the <i> tags of course won't look like that...
the problem is, when I parse the xml file, I get a line that looks like this:
this is sometext.
the parser is dropping the space before the tags. anyone have any ideas?