You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
gitea/modules/markup
silverwind ad68c9ccb2
Backport emoji fixes to 1.12 (#12327)
* Fix emoji detection in certain cases (#12320)

* Fix emoji detection certain cases

Previous tests weren't complicated enough so there were some situations where emojis were't detected properly. Find the earliest occurance in addition to checking for the longest combination.

Fixes #12312

* ok spell bot

Co-authored-by: Lauris BH <lauris@nix.lv>

* Reduce emoji size (#12317)

* Reduce emoji size

Rendering should now pretty much match GitHub with 1.25em. I verified
that emojis don't increase the line height and removed unecessary size
overrides because now all emojis should appear similar in relation to
the font size.

* fix reaction hover

Co-authored-by: mrsdizzie <info@mrsdizzie.com>
Co-authored-by: Lauris BH <lauris@nix.lv>
5 years ago
..
common Fix potential bugs (#10513) 5 years ago
csv Detect delimiter in CSV rendering (#7869) 6 years ago
external Better logging (#6038) (#6095) 6 years ago
markdown Allow different HardBreaks settings for documents and comments (#11515) (#11599) 5 years ago
mdstripper Change markdown rendering from blackfriday to goldmark (#9533) 5 years ago
orgmode Update go-org to optimize code (#8824) 5 years ago
html.go Update emoji regex (#11584) (#11679) 5 years ago
html_internal_test.go Issue/PR Context Popups (#9822) 5 years ago
html_test.go Backport emoji fixes to 1.12 (#12327) 5 years ago
markup.go Don't manually replace whitespace during render (#10291) 5 years ago
markup_test.go Prioritize "readme.md" (#5691) 6 years ago
sanitizer.go Prevent 500 with badly formed task list (#11328) 5 years ago
sanitizer_test.go Restore checkbox rendering and prevent poor sanitization of spans (#11277) 5 years ago