1
0
mirror of https://github.com/moparisthebest/k-9 synced 2024-11-27 03:32:16 -05:00

Fixes issue 2145

Cannot show the emoji icon on Android 1.6 at least. Replaced all "< img" to "<img".
This commit is contained in:
Koji Arai 2010-08-15 14:52:59 +00:00
parent da90792fa7
commit 7964c34dbd
2 changed files with 665 additions and 668 deletions

File diff suppressed because it is too large Load Diff

View File

@ -9,8 +9,7 @@ for my $carrier qw(docomo softbank kddi) {
print " // These emoji codepoints are generated by tools/make_emoji in the K-9 source tree\n";
print " // The spaces between the < and the img are a hack to avoid triggering \n";
print " // K-9's 'load images' button\n\n";
print "\n";
for my $codepoint (keys %{$emoji->{$carrier}}) {
if (defined $codepoints{$codepoint}) {
@ -23,7 +22,7 @@ for my $codepoint (keys %{$emoji->{$carrier}}) {
}
print " case 0x$codepoint: //$carrier ".$emoji->{$carrier}->{$codepoint}."\n";
print " ".'buff.append("< img src=\"file:///android_asset/emoticons/'.$emoji->{$carrier}->{$codepoint}.'.gif\" alt=\"'.$emoji->{$carrier}->{$codepoint}.'\" />'."\");\n";
print " ".'buff.append("<img src=\"file:///android_asset/emoticons/'.$emoji->{$carrier}->{$codepoint}.'.gif\" alt=\"'.$emoji->{$carrier}->{$codepoint}.'\" />'."\");\n";
print " break;\n";