Opened 7 years ago

Last modified 6 years ago

#14925 new enhancement

XMPP pre formatting tag

Reported by: phlip Owned by: deryni
Milestone: Component: XMPP
Version: 2.10.1 Keywords: XMPP html formatting pre
Cc: nomeata

Description

One of the XMPP services I use at work sends back a table of data in a <pre> tag... Pidgin ignores the tag, and displays everything as one big unformatted mess.

It'd be nice if <pre> could be added to the selection of tags that Pidgin will recognise.

Change History (2)

comment:1 Changed 7 years ago by phlip

This is a sample of what I'm getting back from the service, for a test-case

<message to='[me]' type='chat' from='[service]'>
	<body>[words words words]</body>
	<html xmlns='http://jabber.org/protocol/xhtml-im'>
		<body xmlns='http://www.w3.org/1999/xhtml'>
			<pre>
				<font style='font-family: Courier New; font-weight: normal;font-size: 10;color: #000000;'>[words words words]</font>
			</pre>
		</body>
	</html>
</message>

comment:2 Changed 6 years ago by nomeata

I have the same issue. I worked around it by making the other side send its messae wrapped in <font face="monospace">..</font>, but <pre>...</pre> would be nicer.

Note: See TracTickets for help on using tickets.
All information, including names and email addresses, entered onto this website or sent to mailing lists affiliated with this website will be public. Do not post confidential information, especially passwords!