Closed
Description
- Gitea version (or commit ref): dbd5e4b
- Git version:
gitea:latest
- Operating system:
gitea:latest
- Database (use
[x]
):- PostgreSQL
- MySQL
- MSSQL
- SQLite
- Can you reproduce the bug at https://try.gitea.io:
- Yes (provide example URL)
- No
- Not relevant
Description
Copying selected chunk of text from source code/diff view either removes all newlines or produces additional ones when unnecessary. Removal happens on Chromium, while on Firefox newlines are added.
Screenshots
https://try.gitea.io/L0veSunshine/drone-gitea-release/src/branch/master/Dockerfile.arm
Firefox:
FROM plugins/base:multiarch
LABEL maintainer="Drone.IO Community <[email protected]>" \
org.label-schema.name="Drone Gitea Release" \
org.label-schema.vendor="Drone.IO Community" \
org.label-schema.schema-version="1.0"
ADD release/linux/arm/drone-gitea-release /bin/
ENTRYPOINT [ "/bin/drone-gitea-release" ]
Chromium:
FROM plugins/base:multiarch
LABEL maintainer="Drone.IO Community <[email protected]>" \
org.label-schema.name="Drone Gitea Release" \
org.label-schema.vendor="Drone.IO Community" \
org.label-schema.schema-version="1.0"
ADD release/linux/arm/drone-gitea-release /bin/
ENTRYPOINT [ "/bin/drone-gitea-release" ]