Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Emoji not rendered on commits view #4439

Closed
2 of 7 tasks
carbontwelve opened this issue Apr 20, 2017 · 4 comments
Closed
2 of 7 tasks

Emoji not rendered on commits view #4439

carbontwelve opened this issue Apr 20, 2017 · 4 comments
Labels
💊 bug Something isn't working

Comments

@carbontwelve
Copy link
Contributor

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.

carbontwelve added a commit to carbontwelve-forks/gogs that referenced this issue Apr 20, 2017
This was referenced Apr 20, 2017
@carbontwelve
Copy link
Contributor Author

carbontwelve commented Apr 20, 2017

The result of my pull request: #4440

Before:
image

After:
image

This wouldn't be an issue if the emojify.js lib had pulled in this fix but it appears that project is dead?

@unknwon unknwon added 💊 bug Something isn't working status: needs feedback Tell me more about it labels May 30, 2017
@unknwon unknwon added this to the 0.12 milestone May 30, 2017
@unknwon
Copy link
Member

unknwon commented May 30, 2017

This is claimed to be fixed by merging #4440, please help test on develop branch or https://try.gogs.io.

@carbontwelve
Copy link
Contributor Author

Confirmed fixed on try.gogs.io
image

@unknwon unknwon removed the status: needs feedback Tell me more about it label May 31, 2017
@unknwon unknwon reopened this May 31, 2017
@unknwon unknwon closed this as completed May 31, 2017
@unknwon
Copy link
Member

unknwon commented May 31, 2017

Mis-click... sorry about any noise.

@unknwon unknwon removed this from the 0.13 milestone Nov 26, 2019
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Mar 21, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
💊 bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants