[Adium-devl] Problem with LMX for messages containing >
Zachary West
zacwest at gmail.com
Thu Mar 19 17:50:00 UTC 2009
Hi,
I've been having some problems with the LMX / context parser for
messages containing >.
The XML:
<message time="2009-03-19T13:27:21-04:00" sender="zacwest"><div><a
href="https://twitter.com/iraphael/status/1355525477">@iraphael</a> To
shorten the URL, select it and hit Edit > Replace with shortened URL.
If you don't, <a href="http://twitter.com">twitter.com</a> shortens
out of the 140 we send (<a
href="twitterreply://136@zacwest?status=1355539419">@</a>, <a
href="https://twitter.com/zacwest/status/1355539419">#</a>)</div></message>
gets read in as:
<div><a> href="https://twitter.com/iraphael/status/1355525477">@iraphael</a>>
Replace with shortened URL. If you don't, <a
href="http://twitter.com">twitter.com</a> shortens out of the 140 we
send (<a href="twitterreply://136@zacwest?status=1355539419">@</a>,
<a href="https://twitter.com/zacwest/status/1355539419">#</a>)</div>
Note the messed-up <a>, and the hugely-missing chunk of text.
This XML:
<message time="2009-03-19T13:46:02-04:00" sender="zacwest"><div><a
href="hello"><span style="font-family: Helvetica; font-size:
12pt;">http://cnn.com</span></a><span style="font-family: Helvetica;
font-size: 12pt;"> testing > meow meow</span></div></message>
gets read in as:
<div><a href="hello"><span style="font-family: Helvetica; font-size:
12pt;">http://cnn.com</span></a><span style="font-family: Helvetica;
font-size: 12pt;"> meow meow</span></div>
So, needless to say, the above messages are not being read in
properly, and both feature >. Problem with LMX?
Zac
More information about the devel
mailing list