summaryrefslogtreecommitdiff
path: root/test/scanners/html
diff options
context:
space:
mode:
authormurphy <murphy@rubychan.de>2009-01-01 03:19:28 +0000
committermurphy <murphy@rubychan.de>2009-01-01 03:19:28 +0000
commitc9eac585f167788dd590db06776b132923455a93 (patch)
treee4f8ade4d74b66fba6062f9d7be20c9454d777fc /test/scanners/html
parentb9c0dd7c02467e633e195ef97e0f4748e588e799 (diff)
downloadcoderay-c9eac585f167788dd590db06776b132923455a93.tar.gz
Completed YAML Scanner (closes #34).
YAML Scanner: * Added another example (multiline). * Added multiline string recognition. * This should be enough for most people. Else: * New method: Scanner#column (very useful and fast!) * Added new token type :doctype, used also by HTML scanner. * coderay_suite: minor output tweaks.
Diffstat (limited to 'test/scanners/html')
-rw-r--r--test/scanners/html/coderay-output.expected.raydebug2
-rw-r--r--test/scanners/html/tolkien.expected.raydebug2
2 files changed, 2 insertions, 2 deletions
diff --git a/test/scanners/html/coderay-output.expected.raydebug b/test/scanners/html/coderay-output.expected.raydebug
index 18b7722..b8dc626 100644
--- a/test/scanners/html/coderay-output.expected.raydebug
+++ b/test/scanners/html/coderay-output.expected.raydebug
@@ -1,4 +1,4 @@
-preprocessor(<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
+doctype(<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">)
tag(<html) attribute_name(xmlns)operator(=)string<delimiter(")content(http://www.w3.org/1999/xhtml)delimiter(")> attribute_name(xml:lang)operator(=)string<delimiter(")content(en)delimiter(")> attribute_name(lang)operator(=)string<delimiter(")content(de)delimiter(")>tag(>)
tag(<head>)
diff --git a/test/scanners/html/tolkien.expected.raydebug b/test/scanners/html/tolkien.expected.raydebug
index 653ddd0..df61b19 100644
--- a/test/scanners/html/tolkien.expected.raydebug
+++ b/test/scanners/html/tolkien.expected.raydebug
@@ -1,4 +1,4 @@
-preprocessor(<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">)
+doctype(<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">)
tag(<html) attribute_name(xmlns)operator(=)string<delimiter(")content(http://www.w3.org/1999/xhtml)delimiter(")> attribute_name(xml:lang)operator(=)string<delimiter(")content(de)delimiter(")> attribute_name(lang)operator(=)string<delimiter(")content(de)delimiter(")>tag(>)
tag(<head>)tag(<title>)plain(Faszination Tolkien - Herr der Ringe )entity(&amp;) plain(Co.)tag(</title>)
tag(<meta) attribute_name(name)operator(=)string<delimiter(")content(description)delimiter(")> attribute_name(content)operator(=)string<delimiter(")content(J.R.R. Tolkien und seine Werke (Schwerpunkt: Der Herr der Ringe\). Anf)entity(&auml;)content(ngerfreundlich gestaltet. Gro)entity(&szlig;)content(e kommentierte Galerie, Downloads, Forum, Postkarten, etc.)delimiter(")> tag(/>)