-
Notifications
You must be signed in to change notification settings - Fork 71
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
👌 Throw an error if 3rd party plugin doesn't increment line
or pos
counters
#336
base: master
Are you sure you want to change the base?
👌 Throw an error if 3rd party plugin doesn't increment line
or pos
counters
#336
Conversation
It seems the commit message got somehow malformed when copy pasting a message with backticks to to terminal. Perhaps best to squash and merge with the PRs (or other) message. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Heya
@@ -91,25 +91,24 @@ def fromCodePoint(c: int) -> str: | |||
r'\\([!"#$%&\'()*+,\-.\/:;<=>?@[\\\]^_`{|}~])' + "|" + r"&([a-z#][a-z0-9]{1,31});", | |||
re.IGNORECASE, | |||
) | |||
DIGITAL_ENTITY_BASE10_RE = re.compile(r"#([0-9]{1,8})") | |||
DIGITAL_ENTITY_BASE16_RE = re.compile(r"#x([a-f0-9]{1,8})", re.IGNORECASE) | |||
DIGITAL_ENTITY_TEST_RE = re.compile( |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This change seems separate to the PR title?
Can you split it into a separate PR
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Most changes here are unrelated refactors actually. This is a port of the diff in the first post. Should something else be split too?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yeh ideally it should be split up fully into "logical changes" 😅
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
👍 Pushed a new commit history. Would this split work?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Would this split work?
Please split them up into separate PRs, with a clear description of their intention; the smaller the PR better, and the more likely I can just merge them without much effort/delay
2126aeb
to
fe0e4e7
Compare
…` counters (previously infinite loop would likely occur)
fe0e4e7
to
ddf1634
Compare
(previously, markdown-it would likely go into infinite loop instead)
This really is a port of upstream changes markdown-it/markdown-it@13.0.1...49ca65b which adds up to just one changelog entry (the PR title).