Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChris Goldthorpe2010-10-20 13:34:16 -0400
committerChris Goldthorpe2010-10-20 13:34:16 -0400
commitcca0bad2b0306df4e73a7b60fa322c0f259fbc5d (patch)
treead5bdf4ff0f627ce95a6fb3bc53417bbfb58c89d /org.eclipse.ua.tests/data/help/search
parent0ef7ded23cd61062851a6bde6bd1b7743f05a895 (diff)
downloadeclipse.platform.ua-cca0bad2b0306df4e73a7b60fa322c0f259fbc5d.tar.gz
eclipse.platform.ua-cca0bad2b0306df4e73a7b60fa322c0f259fbc5d.tar.xz
eclipse.platform.ua-cca0bad2b0306df4e73a7b60fa322c0f259fbc5d.zip
Bug 328267 - [Help][Search] meta tag "description" does not contribute to search index
Diffstat (limited to 'org.eclipse.ua.tests/data/help/search')
-rw-r--r--org.eclipse.ua.tests/data/help/search/extraDir/testMeta2.htm15
-rw-r--r--org.eclipse.ua.tests/data/help/search/extraDir/testMeta2.xhtml17
2 files changed, 32 insertions, 0 deletions
diff --git a/org.eclipse.ua.tests/data/help/search/extraDir/testMeta2.htm b/org.eclipse.ua.tests/data/help/search/extraDir/testMeta2.htm
new file mode 100644
index 000000000..f8efb0728
--- /dev/null
+++ b/org.eclipse.ua.tests/data/help/search/extraDir/testMeta2.htm
@@ -0,0 +1,15 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN">
+<html>
+<head>
+<meta http-equiv="Content-Language" content="en-us">
+<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
+<meta name="description" content="basbanba">
+<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
+<title>HTML doc with meta</title>
+</head>
+<body>
+
+This is a test for searchable word in description meta tag within an html document
+
+</body>
+</html>
diff --git a/org.eclipse.ua.tests/data/help/search/extraDir/testMeta2.xhtml b/org.eclipse.ua.tests/data/help/search/extraDir/testMeta2.xhtml
new file mode 100644
index 000000000..87a5c7745
--- /dev/null
+++ b/org.eclipse.ua.tests/data/help/search/extraDir/testMeta2.xhtml
@@ -0,0 +1,17 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+
+<html xmlns="http://www.w3.org/1999/xhtml">
+<head>
+<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
+<meta name="description" content="mfjrudjesm" />
+<title>XHTML doc with meta</title>
+</head>
+
+<body>
+
+<p>
+This is a test for searchable word in description meta tag in XHTML file
+</p>
+
+</body>
+</html>

Back to the top