- Support for Django 1.10 (beta but not expecting any breaking changes)
- Support for Django 1.9
- Enable autoescaping for filters. This functions the same way as built-in Django filters work, which are enabled by default. Because this has the potential to break current installations the major has been bumped albeit being a small fix.
- Python 3 support
- test suite is now being run through tox for for all supported versions of Django and Python. 1.4 to 1.7 with their respective versions of Python.
Emoji.replace_html_entities
replaces all unicode html entities with their corresponding unicode character. This method is now by default called beforeEmoji.replace_unicode
. (@pistos2)Emoji.replace_unicode
will now set the<img alt>
attribute to be the unicode character being replaced. This change done to allow marking and copying strings with emojis and the unicode character being copied along correctly. (@pistos2)- Change the
<img>
tag to also have a title attribute that is the text representation of the current character being encoded. - Added settings for new options:
EMOJI_ALT_AS_UNICODE
, default:True
EMOJI_REPLACE_HTML_ENTITIES
, default:True
EMOJI_IMG_TAG
, default:<img src="{0}" alt="{1}" title="{2}" class="emoji">
- Added support for running on a narrow unicode build of Python. The test suite passed on narrow builds but it has not been production tested with a narrow build.
Emoji.name_for(unicode_character)
gives the name for a unicode characterEmoji.replace_unicode(unicode_string)
replaces all unicode emojis with images in the passed in string.
- Initial public release