Skip to content

Emoji not rendered on commits view #4439

Closed
@carbontwelve

Description

@carbontwelve

Description

I am not sure if this is or isn't related to #3023, however I am running Gogs version 0.11.4.0405 and have noticed that on the commit history page emoji aren't rendered even though the <td> element has the has-emoji class.

Having had a look at gogs.js the implementation of emojify looks to be correct.

Looking at [commits_table.tmpl])(https://github.com/gogits/gogs/blob/9e3c83372f19853ac1dc164e2fcf58d9779ac0f0/templates/repo/commits_table.tmpl#L43) a fix is to place the has-emoji class onto the <span> rather than on the <td>.

I am going to fork and create a pull request the above effect.

Metadata

Metadata

Assignees

No one assigned

    Labels

    💊 bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions