• Robert Knight's avatar
    Fix crash if link href and text cannot be compared · a7f0ad21
    Robert Knight authored
    `replaceLinksWithEmbeds` attempts to compare the href and text of a link in a
    percent-encoding agnostic way. This can be done by either percent-decoding the
    href or percent-encoding the text. Both of these approaches can fail, but
    `encodeURI` has fewer failure modes than `decodeURI`. Switch to using
    `encodeURI` for this reason, handle failure, and add tests that would cover both
    implementation approaches.
    
    Fixes #4405
    a7f0ad21
Name
Last commit
Last update
..
integration Loading commit data...
annotation-fixtures.js Loading commit data...
bootstrap.js Loading commit data...
cross-origin-rpc-test.js Loading commit data...
fake-redux-store.js Loading commit data...
fake-window.js Loading commit data...
group-fixtures.js Loading commit data...
markdown-commands-test.js Loading commit data...
media-embedder-test.js Loading commit data...
render-markdown-test.js Loading commit data...
search-client-test.js Loading commit data...
service-context-test.js Loading commit data...
websocket-test.js Loading commit data...