Skip to main content
Known Participant
March 18, 2010
Question

Chained links in XML converting to one link

  • March 18, 2010
  • 1 reply
  • 1133 views

I have a long list of A links in my TextFlow XML but the block of text is rendering as one link instead of individual links. If I add a character between each link it is fine. How can I stop the importer from converting them into one link?

This topic has been closed for replies.

1 reply

PoobeardAuthor
Known Participant
March 18, 2010

I tried to put a non-break-space entity between the links but the convertor didn't like it. There must be a way to force a space character between two A links.

March 18, 2010

When I import multiple links right next to each other it looks like there is just one link (the underline is contiguous), but they are actually separate - clicking on a particular character generates a separate, appropriate action.

You can add space between links either by adding a span with a space, or just putting space between the link tags. Even if the TextFlow's whitespaceCollapse property is set to "collapse" (the default) you should get a single space between links if there is any whitespace between the link tags.

Could you provide an example of the markup that you're having trouble with?

PoobeardAuthor
Known Participant
March 18, 2010

I originally had a space between each A link but it still created one big link. I've since added a SPAN between them with a white character in it. I'm suffering even bigger issues with links at the moment which you can view in another thread but this is still a bit weird don't you think? you should be able to string links together and keep them separate.