GNOME Bugzilla – Bug 625745
Tabs not displayed in chat text in theme
Last modified: 2011-08-29 10:12:43 UTC
Created attachment 166909 [details] Screenshot of chat text missing tabs. I was chatting someone with the contents of my ~/.ssh/config and noticed that tabs are not displayed correctly. Screenshot attached. Below is the original text equivalent to what's in the screenshot: Host ??.xxx.net ForwardAgent yes Port 1222 User stef Host *.test.xxx.net ForwardAgent yes Port 1222 User stef Host *.test.xxx.net ForwardAgent yes Port 1222 User stef
That's because Adium themes render the message using HTML which doesn't display tabs. Kov: any smart idea about how we could display that using webkit?
Crazy idea: maybe we could use the verbatim markups when we the messages contains more than one line?
<pre> seems to make sense. It also solves the problem of multiple spaces being collapsed by default by HTML. Or you could just use CSS like: white-space: pre; for all messages
Created attachment 171750 [details] [review] proposed fix
Review of attachment 171750 [details] [review]: Looks good to me but I prefer to check with Xavier before merging it.
This problem has been fixed in the development version. The fix will be available in the next major software release. Thank you for your bug report.