-
Notifications
You must be signed in to change notification settings - Fork 29.6k
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
doc: mitigate marked
bug
#20411
Closed
Closed
doc: mitigate marked
bug
#20411
Conversation
This file contains 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
vsemozhetbyt
added
the
fast-track
PRs that do not need to wait for 48 hours to land.
label
Apr 29, 2018
nodejs-github-bot
added
doc
Issues and PRs related to the documentations.
net
Issues and PRs related to the net subsystem.
labels
Apr 29, 2018
Node.js Collaborators, please, add 👍 here if you approve fast-tracking. |
trivikr
approved these changes
Apr 30, 2018
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.
Confirmed that links appear correctly in net.md in private branch
lpinca
approved these changes
Apr 30, 2018
cjihrig
approved these changes
Apr 30, 2018
@vsemozhetbyt just as a question: did you check intermediate versions as well? |
Landed in 536b1fb |
vsemozhetbyt
added a commit
that referenced
this pull request
May 2, 2018
PR-URL: #20411 Reviewed-By: Trivikram Kamat <[email protected]> Reviewed-By: Luigi Pinca <[email protected]> Reviewed-By: Colin Ihrig <[email protected]>
MylesBorins
pushed a commit
that referenced
this pull request
May 4, 2018
PR-URL: #20411 Reviewed-By: Trivikram Kamat <[email protected]> Reviewed-By: Luigi Pinca <[email protected]> Reviewed-By: Colin Ihrig <[email protected]>
Merged
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
doc
Issues and PRs related to the documentations.
fast-track
PRs that do not need to wait for 48 hours to land.
net
Issues and PRs related to the net subsystem.
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.
Checklist
make -j4 test
(UNIX), orvcbuild test
(Windows) passesStatus quo
3cb8e64 + 647954d have fixed a method signature, but caused link rendering issues in 2 places of the HTML doc:
see this nightly doc section or a screenshot with the issue in red frame.
see this nightly doc section or a screenshot with the issue in red frame.
In the GitHub docs, both links are rendered properly: see here and here.
The cause
We have rather an old version of
marked
module and it seems it has a parsing bug for this pattern:Minimal reproduction:
In this case,
marked
renders the first link part as a code fragment in non-code square brackets, and then renders the second part as a link inferring both the text and the URL from it.What can we do
The bug is fixed in
marked
master. Compare the output from the tip-of-tree:But it seems we cannot update now as
marked
is still unstable, has possible new bugs and experiences turbulent renewal (see issue with a comment).So we can use this workaround till
marked
1.0 is released. See screenshots of fixed links and here and here.If we should add any HTML comments in these places with PR URL or TODO instructions, please, suggest the wording and format.
cc @nodejs/documentation