You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When using 'use_autolinks' => true it can fail on cases where link's href and text are encoded differently using:
HTML encoding (& <> &, etc)
URL encoding (%xx sequences)
The strict comparison that autolinks check uses should be softened by converation to a common form.
Also we should probably make that HTML encodings are decoded for markdown output, while URL encodings are left as is, is this right?
Version(s) affected
5.1.1/5.2.x
Description
When using
'use_autolinks' => true
it can fail on cases where link's href and text are encoded differently using:&
<>&
, etc)%xx
sequences)The strict comparison that autolinks check uses should be softened by converation to a common form.
Also we should probably make that HTML encodings are decoded for markdown output, while URL encodings are left as is, is this right?
How to reproduce
The text was updated successfully, but these errors were encountered: