Skip to content

Fix ReadLightNovel Chapter Parsing

Clocks requested to merge github/fork/Dunbock/fix-readlightnovel into dev

Created by: Dunbock

There is a hidden div that contains the whole chapter text again after the visible chapter text. Changed the getPassage to use that hidden chapter as it does not contain unnecessary bonus elements and transformed it into a string.

The only thing that I am not sure about is the single leading whitespace at the start of each text line. I have left those in to better show the new line starts. Could be removed by adding a whitespace at line 64 before the <p>.

Merge request reports