Anime synopsis missing newlines between paragraphs
Closed this issue · 0 comments
ToshY commented
Problem
Anime synopsis are missing newlines between paragraph due to usage of meta description for XPath.
Reproduction
Example MAL ID 6
Solution
- Update XPath for Synopsis to no longer use meta tag for description, but actual content:
//p[@itemprop='description']
. - Update existing test by changing the
assertStringContainsString
toassertEquals
on exact description including newlines.