Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

HTML: Weird parsing of lists #300

Closed
jackdewinter opened this issue Feb 24, 2022 · 2 comments
Closed

HTML: Weird parsing of lists #300

jackdewinter opened this issue Feb 24, 2022 · 2 comments
Labels
bug Something isn't working

Comments

@jackdewinter
Copy link
Owner

jackdewinter commented Feb 24, 2022

Found with #293 :

expected_string(132)>><ol>
<li>
<ol>
<li>
<blockquote>
<p>list</p>
</blockquote>
</li>
<li>
<blockquote>
<p>item</p>
</blockquote>
</li>
</ol>
</li>
</ol><<

actual_string  (98)>><ol>
<li>
<ol>
<li>
<blockquote>
<p>list
1.    &gt; item</p>
</blockquote>
</li>
</ol>
</li>
</ol><<

Tests:
Done - test_nested_three_ordered_max_ordered_max_block_max_no_bq1_with_li2
Done - test_nested_three_ordered_max_unordered_max_block_max_with_li2
Done - test_nested_three_ordered_max_unordered_max_block_max_no_bq1_with_li2
Done - test_nested_three_unordered_max_unordered_max_block_max_no_bq1_with_li2
Done - test_nested_three_unordered_max_unordered_max_block_max_with_li2
Done - test_nested_three_unordered_max_ordered_max_block_max_no_bq1_with_li2
Done - test_nested_three_unordered_max_ordered_max_block_max_with_li2

  • test_nested_three_block_max_ordered_max_block_max_empty_with_li
@jackdewinter jackdewinter added the bug Something isn't working label Mar 12, 2022
@jackdewinter
Copy link
Owner Author

jackdewinter commented Mar 13, 2022

Fixed:

  • test_nested_three_unordered_max_unordered_max_block_max_no_bq1_with_li2
  • test_nested_three_ordered_max_ordered_max_block_max_no_bq1_with_li2
  • test_nested_three_ordered_max_unordered_max_block_max_with_li2
  • test_nested_three_ordered_max_unordered_max_block_max_no_bq1_with_li2
  • test_nested_three_unordered_max_unordered_max_block_max_with_li2
  • test_nested_three_unordered_max_ordered_max_block_max_no_bq1_with_li2
  • test_nested_three_unordered_max_ordered_max_block_max_with_li2

jackdewinter added a commit that referenced this issue Mar 13, 2022
jackdewinter added a commit that referenced this issue Mar 13, 2022
#300 - Fixing most o… (Sourcery refactored)
jackdewinter added a commit that referenced this issue Mar 13, 2022
@jackdewinter
Copy link
Owner Author

Final one accounted for in #296

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant