From 12e8343068b906f8b2afddc5569968a8a91fa5b0 Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Mon, 29 Apr 2024 06:24:24 +0200 Subject: Adding upstream version 2.1.0. Signed-off-by: Daniel Baumann --- tests/test_port/fixtures/normalize.md | 39 +++++++++++++++++++++++++++++++++++ 1 file changed, 39 insertions(+) create mode 100644 tests/test_port/fixtures/normalize.md (limited to 'tests/test_port/fixtures/normalize.md') diff --git a/tests/test_port/fixtures/normalize.md b/tests/test_port/fixtures/normalize.md new file mode 100644 index 0000000..4a00508 --- /dev/null +++ b/tests/test_port/fixtures/normalize.md @@ -0,0 +1,39 @@ + +Encode link destination, decode text inside it: + +. + +. +

http://example.com/αβγδ

+. + +. +[foo](http://example.com/α%CE%B2γ%CE%B4) +. +

foo

+. + + +Keep %25 as is because decoding it may break urls, #720 +. + +. +

https://www.google.com/search?q=hello.%252Ehello

+. + + +Don't encode domains in unknown schemas: + +. +[](skype:γγγ) +. +

+. + + +Square brackets are allowed +. +[foo](https://bar]baz.org) +. +

foo

+. -- cgit v1.2.3