Repository navigation
Parse <blockquote> tags for better quote detection - #2313
Merged
Merged
Conversation
Hocuri
force-pushed
the
parse-blockquotes
branch
from
April 5, 2021 13:16
5fb44c0 to
b6a5a1c
Compare
Hocuri
force-pushed
the
parse-blockquotes
branch
from
April 6, 2021 15:34
b6a5a1c to
a16de8c
Compare
link2xt
reviewed
Apr 7, 2021
| /// Everything between <div name="quote"> and <div name="quoted-content"> is usually metadata | ||
| /// If this is > `0`, then we are inside a `<div name="quoted-content">`. | ||
| divs_since_quoted_content_div: u32, | ||
| /// All-Inkl just puts the quote into `<blockquote> </blockquote>`. |
Collaborator
There was a problem hiding this comment.
This comment, and a link to the actual domain of All-Inkl (is it all-inkl.com?) is better put into test_allinkl_blockquote. Comment for the field does not describe what it contains. Is it the number of blockquotes nested inside a blockquote tag?
Collaborator
Author
There was a problem hiding this comment.
I did this to match the comment on divs_since_quote_div above, which says that it's GMX. But I put another comment into the test and expanded this comment here.
Collaborator
There was a problem hiding this comment.
divs_since_quote_div also does not tell what this variable is for, it's just not part of this PR.
Collaborator
There was a problem hiding this comment.
Feel free to merge this as-is, I just commented on the comment because the code LGTM :)
link2xt
approved these changes
Apr 7, 2021
This file contains hidden or 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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
There probably won't be any merge conflicts with #2089, but it's probably better to wait, anyway.