Skip to content

Commit

Permalink
Added new column to the table (Html to Unified).
Browse files Browse the repository at this point in the history
  • Loading branch information
albertoleal committed May 3, 2011
1 parent 1d81977 commit 1738504
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions html_demo.php
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@
<th>Name</th>
<th>Unified Text</th>
<th>HTML</th>
<th>HTML to Unified</th>
</tr>
<?
$src = array(
Expand Down Expand Up @@ -68,6 +69,7 @@ function utf8_bytes($cp){
echo "<td>".HtmlSpecialChars(emoji_get_name($bytes))."</td>\n";
echo "<td>$str</td>\n";
echo "<td>".emoji_unified_to_html($str)."</td>\n";
echo "<td>".emoji_html_to_unified(emoji_unified_to_html($str))."</td>\n";
echo "</tr>\n";
}
?>
Expand Down

0 comments on commit 1738504

Please sign in to comment.