Skip to content

Commit

Permalink
test: add test for 'mailto' URL
Browse files Browse the repository at this point in the history
Closes #1265
  • Loading branch information
rdeltour committed Nov 27, 2022
1 parent 5d56717 commit 5b5391f
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 0 deletions.
Expand Up @@ -315,6 +315,10 @@ Feature: EPUB 3 — Content Documents — XHTML
When checking document 'content-xhtml-link-to-svg-fragment-error'
Then error RSC-014 is reported
Then no other errors or warnings are reported

Scenario: Allow valid hyperlink URLs
When checking document 'a-href-valid.xhtml'
Then no errors or warnings are reported

#### iframes

Expand Down
@@ -0,0 +1,12 @@
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
<meta charset="utf-8" />
<title>Test</title>
</head>
<body>
<h1>Test</h1>
<!-- This list of hyperlinks can be extended for testing purposes -->
<a href="mailto:abc%7C@example.com">email me</a>
</body>
</html>

0 comments on commit 5b5391f

Please sign in to comment.