|
@ -13,6 +13,15 @@ Encode link destination, decode text inside it: |
|
|
<p><a href="http://example.com/%CE%B1%CE%B2%CE%B3%CE%B4">foo</a></p> |
|
|
<p><a href="http://example.com/%CE%B1%CE%B2%CE%B3%CE%B4">foo</a></p> |
|
|
. |
|
|
. |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Keep %25 as is because decoding it may break urls, #720 |
|
|
|
|
|
. |
|
|
|
|
|
<https://www.google.com/search?q=hello%2E%252Ehello> |
|
|
|
|
|
. |
|
|
|
|
|
<p><a href="https://www.google.com/search?q=hello%2E%252Ehello">https://www.google.com/search?q=hello.%252Ehello</a></p> |
|
|
|
|
|
. |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Should decode punycode: |
|
|
Should decode punycode: |
|
|
|
|
|
|
|
|
. |
|
|
. |
|
|