# Flash is eating whitespace in my html-formatted text node in xml

**URL:** https://forum.kirupa.com/t/flash-is-eating-whitespace-in-my-html-formatted-text-node-in-xml/79160
**Category:** flash
**Created:** [February 11, 2005, 8:40am UTC](https://forum.kirupa.com/t/flash-is-eating-whitespace-in-my-html-formatted-text-node-in-xml/79160 "2005-02-11T08:40:02Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![fideldonson](https://avatars.discourse-cdn.com/v4/letter/f/73ab20/32.png) [@fideldonson](https://forum.kirupa.com/u/fideldonson)
#### Post date: [February 11, 2005, 8:40am UTC](https://forum.kirupa.com/t/flash-is-eating-whitespace-in-my-html-formatted-text-node-in-xml/79160/1 "2005-02-11T08:40:02Z")

</div>

[font=verdana, arial, helvetica][size=2] the node that i have placed inside a cdata tag looks like this:  
_this is italic/_ _and this is bold/_

I suspect that flash treats the space between the _/i_ and the _b_ as xml-white-space and not as legitimate white space in text, but what can i do about it?

[/size][/font][font=verdana, arial, helvetica][size=2]I am using the cdata delimiter with no success. Apparently flash still sees the whitespace between two html-tags inside the cdata tag as xml and removes it.

Using nonbreakingspace works fine in players version 6 and upwards i think, but not in version 5.  
[/size][/font]  
[font=verdana, arial, helvetica][size=2]Any ideas exept doing a manual replace nbsp with space?[/size][/font]
