This repository has been archived by the owner on May 5, 2021. It is now read-only.
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[FIX] Parser: parse <br> consistently with Renderer behaviour
Until this commit, the Parser just added a LINE_BREAK in VDocument for each <br>. But our own Renderer doesn't render a single <br> for each LINE_BREAK. This commit makes the Parser consistent with that behaviour. Also includes tests to account for that.
- Loading branch information
Showing
2 changed files
with
31 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters