mirror of
https://github.com/moparisthebest/k-9
synced 2024-11-30 05:02:26 -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:
parent
da90792fa7
commit
7964c34dbd
File diff suppressed because it is too large
Load Diff
@ -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 " // 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 "\n";
|
||||||
print " // K-9's 'load images' button\n\n";
|
|
||||||
for my $codepoint (keys %{$emoji->{$carrier}}) {
|
for my $codepoint (keys %{$emoji->{$carrier}}) {
|
||||||
|
|
||||||
if (defined $codepoints{$codepoint}) {
|
if (defined $codepoints{$codepoint}) {
|
||||||
@ -23,7 +22,7 @@ for my $codepoint (keys %{$emoji->{$carrier}}) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
print " case 0x$codepoint: //$carrier ".$emoji->{$carrier}->{$codepoint}."\n";
|
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";
|
print " break;\n";
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user