From b3fb6c2326ac6d585cc17d1f643bc06e076be042 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Michael=20F=C3=A4rber?= <01mf02@gmail.com> Date: Thu, 23 Jan 2025 13:21:34 +0100 Subject: Support quotes in HTML output (#5673) --- tests/ref/html/quote-attribution-link.html | 15 +++++++++++++++ tests/ref/html/quote-nesting-html.html | 12 ++++++++++++ tests/ref/html/quote-plato.html | 21 +++++++++++++++++++++ 3 files changed, 48 insertions(+) create mode 100644 tests/ref/html/quote-attribution-link.html create mode 100644 tests/ref/html/quote-nesting-html.html create mode 100644 tests/ref/html/quote-plato.html (limited to 'tests/ref/html') diff --git a/tests/ref/html/quote-attribution-link.html b/tests/ref/html/quote-attribution-link.html new file mode 100644 index 00000000..4da8b47f --- /dev/null +++ b/tests/ref/html/quote-attribution-link.html @@ -0,0 +1,15 @@ + + +
+ + + + ++ Compose papers faster ++
+ — typst.com +
+ + diff --git a/tests/ref/html/quote-nesting-html.html b/tests/ref/html/quote-nesting-html.html new file mode 100644 index 00000000..c652bd97 --- /dev/null +++ b/tests/ref/html/quote-nesting-html.html @@ -0,0 +1,12 @@ + + + + + + + ++ When you said that “he surely meant that ‘she intended to say “I'm sorry”’”, I was quite confused. +
+ + diff --git a/tests/ref/html/quote-plato.html b/tests/ref/html/quote-plato.html new file mode 100644 index 00000000..fc052d10 --- /dev/null +++ b/tests/ref/html/quote-plato.html @@ -0,0 +1,21 @@ + + + + + + + ++ … ἔοικα γοῦν τούτου γε σμικρῷ τινι αὐτῷ τούτῳ σοφώτερος εἶναι, ὅτι ἃ μὴ οἶδα οὐδὲ οἴομαι εἰδέναι. ++
+ — Plato +
++ … I seem, then, in just this little thing to be wiser than this man at any rate, that what I do not know I do not think I know either. ++
+ — from the Henry Cary literal translation of 1897 +
+ + -- cgit v1.2.3