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
Deactivating hyperlinking in examples #777
Comments
I'll see how we can turn it off. I think it's the markdown parser (might be doing the right thing, but we should be able to disable it). |
fyi, this blocked the TR update of resource hints yesterday. this would be worth adding into the testbed. |
@plehegar, this is a "feature" of markdown it seems (https://gist.github.com/alexpeattie/4729247). It can be disabled with a few hacks (e.g., the |
A solution might be to add a nolink class. I can then convert HTMLAnchors to text nodes. |
PR sent. |
LGTM. |
Thanks! Something is tripping up one of the tests. Looking into it.
|
Feat(markdown): disable md linking via 'nolinks' class (closes #777)
* develop: v3.2.124 Fix(ui): close ui when doc is clicked (closes #772) Fix(base-runner): improve error reporting Fix(markdown): use Array.from instead of for/of loop Fix(headers-spec): should query doc, not document Fix(markdown-spec): should query doc, not document Feat(markdown): disable md linking via 'nolinks' class (closes #777) Chore(travis): Bump node version to 6.2 Chore(appveyor): Bump node version to 6.2 Feat(save-html): beautify HTML/XML output (closes #750) Feat(hightlight): use new highlighter (#767) Fix(SpecHelper): remove isPhantom() dead code Feat(utils): map/reduce linkCSS() instead of jQuery Fix (SpecHelper): reduce dependece on jQuery Fix(style): reduce ReSpec FOUC (relates to #326) Feat(utils): add makeOwnerSwapper() (#766) Fix(beautify-options): disable wrap_line_length, as it gets confused
Compare
https://www.w3.org/TR/resource-hints/#fetching-the-resource-hint-link
with
https://w3c.github.io/resource-hints/#fetching-the-resource-hint-link
It seems that the new highlighter is attempted to be too smart for its own good.
The hyperlink is https://example.com/next-page.html%3E
and really, we should link to example.com in the first place. Is there a way to disable this?
The text was updated successfully, but these errors were encountered: