-
Notifications
You must be signed in to change notification settings - Fork 78
Closed
Description
Describe the bug
In tests/data/html_simple/md.html, <em>italics and later <strong>bold</strong></em>. Even
is processed in the following order:
italics and later
. Even
bold
This is illustrated in #12 too.
To Reproduce
Steps to reproduce the behavior:
- Run
tests/parser/test_parser.py::test_parse_md_details
and set a breakpoint
Expected behavior
The said sentence is processed in the following order:
italics and later
bold
. Even
Environment (please complete the following information):
- Fonduer Version: [0.7.0 and master(3d5392c)]
Additional context
Add any other context about the problem here.
Why this happens?
When the node
is <em>italics and later <strong>bold</strong></em>
, node.text (=italics and later
) and node.tail (=. Even
) are processed, the next node <strong>bold</strong>
is processed.
Metadata
Metadata
Assignees
Labels
No labels