In an OnBlipSubmitted event I add a link via
context.builder.DocumentAppendMarkup(root.GetWaveId(), root.GetId(),
inline.GetId(), "<a href=\"" + url + "\">" + text + "</a>")
to the root blip.
If the root blip contains only the title before apending the link,
then the link becomes part of the title. Even if I prefix the link it
with an AppendText('\n'), which should be equal to hitting enter on
the keyboard and thus marking an end of the title.
Even if I then, after appending the links which become part of the
title, try to correct the title with
doc.SetAnnotation(document.Range(0, len(titleX)), "conv/title", ""),
where titleX is the text of the title which I stored before appending
the the links, the links do become part of the title.
If I type in the title and then hit enter and then type any character
so that it doesn't become part of the title, only then the appended
links don't become part of the title.
What am I doing wrong?
--
You received this message because you are subscribed to the Google Groups
"Google Wave API" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/google-wave-api?hl=.