projects
/
horde.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a2282f9
)
Fix rendering of text parts in popup windows
author
Michael M Slusarz
<slusarz@curecanti.org>
Tue, 18 Jan 2011 06:26:16 +0000
(23:26 -0700)
committer
Michael M Slusarz
<slusarz@curecanti.org>
Tue, 18 Jan 2011 06:26:16 +0000
(23:26 -0700)
imp/lib/Mime/Viewer/Plain.php
patch
|
blob
|
history
diff --git
a/imp/lib/Mime/Viewer/Plain.php
b/imp/lib/Mime/Viewer/Plain.php
index
4523a0a
..
119dbbb
100644
(file)
--- a/
imp/lib/Mime/Viewer/Plain.php
+++ b/
imp/lib/Mime/Viewer/Plain.php
@@
-34,7
+34,8
@@
class IMP_Mime_Viewer_Plain extends Horde_Mime_Viewer_Plain
$item = reset($data);
Horde::startBuffer();
Horde::includeStylesheetFiles();
- $item['data'] = '<html><head>' . Horde::endBuffer() . '</head><body><tt>' . $item['data'] . '</tt></body></html>';
+ $item['data'] = '<html><head>' . Horde::endBuffer() . '</head><body>' . $item['data'] . '</body></html>';
+ $data[key($data)] = $item;
return $data;
}