Skip to content
This repository has been archived by the owner on Oct 3, 2018. It is now read-only.

Can't render emoji inside a table #154

Open
unknwon opened this issue Oct 6, 2015 · 6 comments
Open

Can't render emoji inside a table #154

unknwon opened this issue Oct 6, 2015 · 6 comments

Comments

@unknwon
Copy link

unknwon commented Oct 6, 2015

Example:

<table>
<thead>
  <tr>
    <th>Name</th>
    <th>Feature</th>
  </tr>
</thead>

<tbody>
  <tr>
    <td>product</td>
    <td>:white_check_mark:</td>
  </tr>
</tbody>
@Menelion
Copy link

Menelion commented Jan 3, 2016

👍 Implementing it on my blogging system, ran into the same issue: works in entry but not in comments laid out as a table.
Any solution or help would be greatly appreciated.
Thanks.

@Menelion
Copy link

Menelion commented Jan 3, 2016

Interesting. We've removed the table and now it works. But if a comment (consisting of two divs) is wrapped into one article (for the sake of ARIA accessibility), it immediately stops working.

@danieltigse
Copy link

I have this issue too, any solution?

@Lazerbeak12345
Copy link

It should work using this code (found on http://hassankhan.me/emojify.js/):

emojify.setConfig({
   emojify_tag_type : 'div',           // Only run emojify.js on this element
    only_crawl_id    : null,            // Use to restrict where emojify.js applies
    img_dir          : 'images/emoji',  // Directory for emoji images
    ignored_tags     : {                // Ignore the following tags
        'SCRIPT'  : 1,
        'TEXTAREA': 1,
        'A'       : 1,
        'PRE'     : 1,
        'CODE'    : 1
    }
});
emojify.run();

@bezner
Copy link

bezner commented Nov 16, 2016

This setup still doesn't work to me with the latest version. Someone has solved the issue and can prompt us please?

@schmunk42
Copy link

schmunk42 commented Mar 6, 2017

Ran into the same issue, the open PR #165 would fix this.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

6 participants