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.
forgejo/modules/markup
mrsdizzie ea1ed802a3
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>
4 years ago
..
common Fix potential bugs (#10513) 4 years ago
csv Detect delimiter in CSV rendering (#7869) 5 years ago
external Better logging (#6038) (#6095) 5 years ago
markdown Server-side syntax highlighting for all code (#12047) 4 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) 4 years ago
html_internal_test.go Issue/PR Context Popups (#9822) 5 years ago
html_test.go Fix emoji detection in certain cases (#12320) 4 years ago
markup.go Don't manually replace whitespace during render (#10291) 4 years ago
markup_test.go Prioritize "readme.md" (#5691) 6 years ago
sanitizer.go Server-side syntax highlighting for all code (#12047) 4 years ago
sanitizer_test.go Restore checkbox rendering and prevent poor sanitization of spans (#11277) 4 years ago