Giter Site home page Giter Site logo

Comments (12)

crimx avatar crimx commented on May 23, 2024

Can you paste the generated html source code?

from hexo-filter-github-emojis.

hiberabyss avatar hiberabyss commented on May 23, 2024

Here are the codes got via chrome inspect:

<a href="https://assets-cdn.github.com/images/icons/emoji/unicode/2728.png?v7" title="sparkles" class="fancybox" rel="article"><img class="github-emoji" style="display:inline;vertical-align:bottom" title="sparkles" alt="sparkles" src="https://assets-cdn.github.com/images/icons/emoji/unicode/2728.png?v7" height="20" width="20"></a>
<span class="caption">sparkles</span>

Strange thing is that there is no caption when view the page source code.

Thanks!

from hexo-filter-github-emojis.

crimx avatar crimx commented on May 23, 2024

This seems like other plugins problem

from hexo-filter-github-emojis.

crimx avatar crimx commented on May 23, 2024

This plugin doesn't generate caption classes

from hexo-filter-github-emojis.

hiberabyss avatar hiberabyss commented on May 23, 2024

It should not caused by other plugins, since Safari also have the same problem while there is no plugin installed.

from hexo-filter-github-emojis.

crimx avatar crimx commented on May 23, 2024

I mean hexo plugin

from hexo-filter-github-emojis.

crimx avatar crimx commented on May 23, 2024

Looks like you've used a hexo plugin that would generate captions for imgs

from hexo-filter-github-emojis.

hiberabyss avatar hiberabyss commented on May 23, 2024

OK, I will check my hexo plugins.

Thanks!

from hexo-filter-github-emojis.

crimx avatar crimx commented on May 23, 2024

If you still can't find out what's going on, here is a quick fix. Add this to you page

<style>
.github-emoji + .caption {
  display: none !important;
}
</style>

from hexo-filter-github-emojis.

hiberabyss avatar hiberabyss commented on May 23, 2024

Got it!

Really thanks your help!

from hexo-filter-github-emojis.

crimx avatar crimx commented on May 23, 2024

❤️

from hexo-filter-github-emojis.

newdee avatar newdee commented on May 23, 2024

it because of the fancybox, refer to #10, you can solve it.

from hexo-filter-github-emojis.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.