PullRequest / Commit UI: HTML renders escaped special characters instead of showing the escaped character
#1291
-
Strangely this works at my side:

Please reproduce with a sample repo, and attach the repo here.
-
-
@robin It is within in the collapsed, unmodified code. Go to https://code.onedev.io/jbauer/~pulls/2/changes and open the skipped 4 lines at the top.
-
-
OneDev
changed state to 'Closed' 3 years ago
Previous Value Current Value Open
Closed
-
OneDev
changed state to 'Released' 3 years ago
Previous Value Current Value Closed
Released
-
State changed as build #3563 is successful
| Type |
Bug
|
| Priority |
Normal
|
| Assignee | |
| Affected Versions |
8.0.10
|
Issue Votes (0)
Source code
renders as
in pull request file changes UI as well as in single commit UI. OneDev needs to escape source code before using it in HTML context.
Source code rendered in Code -> Files -> seems fine.