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 a6168fa25d
Make copy/paste work for source code (#12191)
* Make copy/paste work for source code

Fix regression casued by #12047 so copy/paste works properly in all browsers.

Fixes #12184

Also while looking at this I saw a small display issue for blame view. I think #12023 was merged into original PR through an update branch before #12047 was merged and made one of the css ruules not apply anymore.

* use pseudo-element to prevent copying of comment + symbol even when not visually selected

* remove added newline here should not be necessary anymore

* make sure empty line is newline so there is something to select and copy
4 years ago
..
comments Refactor pull request review (#8954) 5 years ago
externalaccount Allow externalID to be UUID (#8551) 5 years ago
gitdiff Make copy/paste work for source code (#12191) 4 years ago
issue Fix ref links in issue overviews for tags (#8742) 4 years ago
mailer Add push commits history comment on PR time-line (#11167) 4 years ago
mirror Update the wiki repository remote origin while update the mirror repository's Clone From URL (#12053) 4 years ago
pull Update CommitsAhead CommitsBehind on Pull BaseBranch Change too (#11912) 4 years ago
release When using API CreateRelease set created_unix to the tag commit time (#11218) 4 years ago
repository API endpoint for repo transfer (#9947) 4 years ago
wiki Handle push rejection in branch and upload (#10854) 4 years ago