Skip to main content
Known Participant
Jul 6, 2009 10:47 PM UTC
Answered

Span removing spaces in Pagination example

any idea why the pagination example removes spaces when span is applied? for example, this code (straight from the example),

renders like this,

This topic is closed to new replies. Start a new post to keep the conversation going.
robin_briggsCorrect answer
Adobe Employee
Jul 6, 2009 10:53 PM UTC

This was a bug in the example, sorry. The "ignoreWhitespace" flag in the XML object is set true by default, and for parsing text-related XML it should be set false. If you change that, the spaces should be handled correctly.

- robin

2 replies

robin_briggsCorrect answer
Adobe Employee
Jul 6, 2009 10:53 PM UTC

This was a bug in the example, sorry. The "ignoreWhitespace" flag in the XML object is set true by default, and for parsing text-related XML it should be set false. If you change that, the spaces should be handled correctly.

- robin

Translate
Known Participant
Jul 7, 2009 12:23 AM UTC

thanks Robin!

Translate