-
-
Notifications
You must be signed in to change notification settings - Fork 34.2k
doc: mitigate marked bug
#20411
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
Closed
Closed
doc: mitigate marked bug
#20411
Conversation
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
Contributor
Author
|
Node.js Collaborators, please, add 👍 here if you approve fast-tracking. |
Contributor
Author
trivikr
approved these changes
Apr 30, 2018
Member
trivikr
left a comment
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
Member
|
@vsemozhetbyt just as a question: did you check intermediate versions as well? |
Contributor
Author
Contributor
Author
|
Landed in 536b1fb |
vsemozhetbyt
added a commit
that referenced
this pull request
May 2, 2018
PR-URL: #20411 Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com> Reviewed-By: Luigi Pinca <luigipinca@gmail.com> Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
MylesBorins
pushed a commit
that referenced
this pull request
May 4, 2018
PR-URL: #20411 Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com> Reviewed-By: Luigi Pinca <luigipinca@gmail.com> Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
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
markedmodule and it seems it has a parsing bug for this pattern:Minimal reproduction:
In this case,
markedrenders 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
markedmaster. Compare the output from the tip-of-tree:But it seems we cannot update now as
markedis still unstable, has possible new bugs and experiences turbulent renewal (see issue with a comment).So we can use this workaround till
marked1.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