-
-
Notifications
You must be signed in to change notification settings - Fork 205
Closed
Description
Expected Behavior
DiffRowGenerator would leave < and > the way they are
Actual Behavior
DiffRowGenerator replaces < and > with their html entities.
Steps to Reproduce the Problem
- Run
DiffRowGenerator.create().generateDiffRows(List.of("<"), List.of("<"))
- Observe that the resulting String has < instead of <
Specifications
- Version: 4.0
- Platform: Linux
- Subsystem:
Using reportLinesUnchanged is not an option since that means tags are missing if an entire line is added/deleted. Having something like replaceSomeHTMLEntities with default true but optionally disableable would be nice, or being able to supply a general string normalisation function.
If needed/wanted I can PR this.
Metadata
Metadata
Assignees
Labels
No labels