From 2ac6c163982b4d85fbe9ff8849941599d8df6ea8 Mon Sep 17 00:00:00 2001 From: wiemann Date: Fri, 11 Aug 2006 21:40:06 +0000 Subject: added functional test for non-ASCII characters in comments git-svn-id: http://svn.code.sf.net/p/docutils/code/trunk@4676 929543f6-e4f2-0310-98a6-ba3bd3dd1d04 --- docutils/test/functional/expected/standalone_rst_html4css1.html | 4 +++- docutils/test/functional/expected/standalone_rst_latex.tex | 4 +++- docutils/test/functional/expected/standalone_rst_pseudoxml.txt | 2 ++ docutils/test/functional/input/data/standard.txt | 2 ++ 4 files changed, 10 insertions(+), 2 deletions(-) (limited to 'docutils/test/functional') diff --git a/docutils/test/functional/expected/standalone_rst_html4css1.html b/docutils/test/functional/expected/standalone_rst_html4css1.html index 2644b3251..5c1c2072a 100644 --- a/docutils/test/functional/expected/standalone_rst_html4css1.html +++ b/docutils/test/functional/expected/standalone_rst_html4css1.html @@ -794,7 +794,9 @@ Inline markup is supported, e.g. emphasis, strong, +Double-dashes - - "- -" - - must be escaped somehow in HTML output. + +Comments may contain non-ASCII characters: ä ö ü æ ø å -->

(View the HTML source to see the comment.)

diff --git a/docutils/test/functional/expected/standalone_rst_latex.tex b/docutils/test/functional/expected/standalone_rst_latex.tex index ed091f828..98fb2cc63 100644 --- a/docutils/test/functional/expected/standalone_rst_latex.tex +++ b/docutils/test/functional/expected/standalone_rst_latex.tex @@ -1245,7 +1245,9 @@ Here's one: % follow, except for the syntax of footnotes, hyperlink % targets, directives, or substitution definitions. % -% Double-dashes -- "--" -- must be escaped somehow in HTML output. +% Double-dashes -- "--" -- must be escaped somehow in HTML output. +% +% Comments may contain non-ASCII characters: ä ö ü æ ø å (View the HTML source to see the comment.) diff --git a/docutils/test/functional/expected/standalone_rst_pseudoxml.txt b/docutils/test/functional/expected/standalone_rst_pseudoxml.txt index 3ecb1b0f2..1578dd155 100644 --- a/docutils/test/functional/expected/standalone_rst_pseudoxml.txt +++ b/docutils/test/functional/expected/standalone_rst_pseudoxml.txt @@ -1508,6 +1508,8 @@ targets, directives, or substitution definitions. Double-dashes -- "--" -- must be escaped somehow in HTML output. + + Comments may contain non-ASCII characters: ä ö ü æ ø Ã¥ (View the HTML source to see the comment.)
diff --git a/docutils/test/functional/input/data/standard.txt b/docutils/test/functional/input/data/standard.txt index 46995645a..a7e7a9b41 100644 --- a/docutils/test/functional/input/data/standard.txt +++ b/docutils/test/functional/input/data/standard.txt @@ -706,6 +706,8 @@ Here's one: Double-dashes -- "--" -- must be escaped somehow in HTML output. + Comments may contain non-ASCII characters: ä ö ü æ ø å + (View the HTML source to see the comment.) Raw text -- cgit v1.2.1