Skip to main content
Known Participant
July 6, 2009
Answered

Span removing spaces in Pagination example

  • July 6, 2009
  • 1 reply
  • 762 views

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 has been closed for replies.
Correct answer robin_briggs

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

1 reply

robin_briggsCorrect answer
Adobe Employee
July 6, 2009

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

Known Participant
July 7, 2009

thanks Robin!