From cc46667953b609d87bbf5611f50843871b304a0c Mon Sep 17 00:00:00 2001 From: John MacFarlane Date: Sun, 7 Nov 2021 21:08:20 -0800 Subject: LaTeX reader: add 'uri' class when parsing `\url`. Closes #7672. --- test/command/3681.md | 2 +- test/command/4832.md | 4 ++-- test/latex-reader.native | 6 +++--- 3 files changed, 6 insertions(+), 6 deletions(-) (limited to 'test') diff --git a/test/command/3681.md b/test/command/3681.md index 3e6c71a47..dc6b90860 100644 --- a/test/command/3681.md +++ b/test/command/3681.md @@ -45,7 +45,7 @@ Software developers create \cicd pipelines to… Following issue can be resolved , Note [ Para [ Link - ( "" , [] , [] ) + ( "" , [ "uri" ] , [] ) [ Str "https://en.wikipedia.org/wiki/CI/CD" ] ( "https://en.wikipedia.org/wiki/CI/CD" , "" ) ] diff --git a/test/command/4832.md b/test/command/4832.md index 5e9f2ac77..ec636b2b7 100644 --- a/test/command/4832.md +++ b/test/command/4832.md @@ -4,7 +4,7 @@ ^D [ Para [ Link - ( "" , [] , [] ) + ( "" , [ "uri" ] , [] ) [ Str "http://example.com/foo%20bar.htm" ] ( "http://example.com/foo%20bar.htm" , "" ) ] @@ -17,7 +17,7 @@ ^D [ Para [ Link - ( "" , [] , [] ) + ( "" , [ "uri" ] , [] ) [ Str "http://example.com/foo{bar}.htm" ] ( "http://example.com/foo{bar}.htm" , "" ) ] diff --git a/test/latex-reader.native b/test/latex-reader.native index 2be447c0d..32ee86899 100644 --- a/test/latex-reader.native +++ b/test/latex-reader.native @@ -1868,7 +1868,7 @@ Pandoc , Str "ampersand:" , Space , Link - ( "" , [] , [] ) + ( "" , [ "uri" ] , [] ) [ Str "http://example.com/?foo=1&bar=2" ] ( "http://example.com/?foo=1&bar=2" , "" ) ] @@ -1878,7 +1878,7 @@ Pandoc ] , [ Para [ Link - ( "" , [] , [] ) + ( "" , [ "uri" ] , [] ) [ Str "http://example.com/" ] ( "http://example.com/" , "" ) ] @@ -1902,7 +1902,7 @@ Pandoc [ Str "Blockquoted:" , Space , Link - ( "" , [] , [] ) + ( "" , [ "uri" ] , [] ) [ Str "http://example.com/" ] ( "http://example.com/" , "" ) ] -- cgit v1.2.3