diff options
Diffstat (limited to 'test/test-pages/rtl-4')
-rw-r--r-- | test/test-pages/rtl-4/expected-metadata.json | 7 | ||||
-rw-r--r-- | test/test-pages/rtl-4/expected.html | 15 | ||||
-rw-r--r-- | test/test-pages/rtl-4/source.html | 26 |
3 files changed, 48 insertions, 0 deletions
diff --git a/test/test-pages/rtl-4/expected-metadata.json b/test/test-pages/rtl-4/expected-metadata.json new file mode 100644 index 0000000..1d9581f --- /dev/null +++ b/test/test-pages/rtl-4/expected-metadata.json @@ -0,0 +1,7 @@ +{ + "title": "RTL Test", + "byline": null, + "excerpt": "Lorem ipsum dolor sit amet.", + "dir": null, + "readerable": true +} diff --git a/test/test-pages/rtl-4/expected.html b/test/test-pages/rtl-4/expected.html new file mode 100644 index 0000000..0bb35c0 --- /dev/null +++ b/test/test-pages/rtl-4/expected.html @@ -0,0 +1,15 @@ +<div id="readability-page-1" class="page"> + <div> + <article dir="rtl"> + <p> + Lorem ipsum dolor sit amet. + </p> + <p> + Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum. + </p> + <p> + Tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum. + </p> + </article> + </div> +</div> diff --git a/test/test-pages/rtl-4/source.html b/test/test-pages/rtl-4/source.html new file mode 100644 index 0000000..677bca9 --- /dev/null +++ b/test/test-pages/rtl-4/source.html @@ -0,0 +1,26 @@ +<!DOCTYPE html> +<html> + +<head> + <meta charset="utf-8" /> + <title>RTL Test</title> +</head> + +<body> + <main> + <article dir="rtl"> + <h1>Lorem</h1> + <p> + Lorem ipsum dolor sit amet. + </p> + <p> + Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum. + </p> + <p> + Tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum. + </p> + </article> + </main> +</body> + +</html> |