Conversation
| The regular expression pattern `href\s*=\s*(?:["'](?<1>[^"']*)["']|(?<1>\S+))` is interpreted as shown in the following table. | ||
|
|
||
|
|
||
| <!-- markdownlint-disable MD011 --> |
There was a problem hiding this comment.
@IEvangelist Not by GitHub parser at least. I'm not sure whether you care about it being rendered correctly in both docs site and GitHub or only docs site. But I personally often view files in GitHub. So better if works in both.
There was a problem hiding this comment.
Hi @Youssef1313 Happy New Year!
I agree that it would be nice to have it render correctly in both, but my primary concern is the docs site. Instead of using <code></code>, are there any obvious or alternative approaches you have in mind that do not break the inline HTML concern/linting rules?
There was a problem hiding this comment.
@IEvangelist Happy new year to you too!
I'd probably ask @DavidAnson for help on this. I opened DavidAnson/markdownlint#363 asking for help on this.
Meanwhile, you can merge to fix the docs site, which is more important than GitHub-view.
IEvangelist
left a comment
There was a problem hiding this comment.
Looks good to me @adegeo,
when you're ready.
|
I fixed something that looks very much like this issue last month: #21977 Was that reverted for some reason? |
|
Doesn't seem reverted and still renders correctly on GitHub (and real site), it seems: https://github.com/dotnet/docs/blob/master/docs/standard/base-types/regular-expression-example-scanning-for-hrefs.md Where isn't this working? |
|
@DavidAnson Thanks! @adegeo It looks like you only need to merge master into your branch in the PR where markdownlint is failing |
|
For some reason my local fork wasn't pulling down the commit @DavidAnson added. I've cleaned and rebased and now I see it. odd. I think we can close this. |


Summary
This file is causing some linter errors on various PRs. This error is a false positive though and this PR disables that specific error check.