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/services
mrsdizzie d7e0983780
Alternative fix for HTML diff entity split (#13425)
* Alternative fix for HTML diff entity split

This commit both reverts PR #13357 and uses the exiting implementation alredy used for spans to fix the same issue. That PR duplicates most of logic that is already present elsewhere and still was failing for some cases. This should be simpler as it uses the existing logic that already works for <span>s being split apart.

Added both test cases as well.

* Update gitdiff_test.go

* fmt

* entity can have uppercase letter, also add detailed comment per @zeripath
4 years ago
..
comments Refactor pull request review (#8954) 5 years ago
externalaccount Allow externalID to be UUID (#8551) 5 years ago
gitdiff Alternative fix for HTML diff entity split (#13425) 4 years ago
issue Add review request api (#11355) 4 years ago
mailer Fix "only mail on mention" bug (#12775) 4 years ago
mirror Refactor: Move PushUpdateOptions (#13363) 4 years ago
pull Replies to outdated code comments should also be outdated (#13217) 4 years ago
release Add the tag list page to the release page (#12096) 4 years ago
repository Fix a bug on refactoring (#13373) 4 years ago
wiki Update golangci-lint to version 1.31.0 (#13102) 4 years ago