From a190c3941a7bed4274fe08e92ba4ce368c1c837f Mon Sep 17 00:00:00 2001 From: Waylan Limberg Date: Wed, 19 Mar 2008 03:47:16 +0000 Subject: Added safe_mode to testing framework and soem tests. --- tests/safe_mode/inline-html-simple.html | 64 +++++++++++++++++++++++++++++++++ 1 file changed, 64 insertions(+) create mode 100644 tests/safe_mode/inline-html-simple.html (limited to 'tests/safe_mode/inline-html-simple.html') diff --git a/tests/safe_mode/inline-html-simple.html b/tests/safe_mode/inline-html-simple.html new file mode 100644 index 0000000..24d16ba --- /dev/null +++ b/tests/safe_mode/inline-html-simple.html @@ -0,0 +1,64 @@ +

Here's a simple block: +

+<div> + foo +</div> + +

This should be a code block, though: +

+
<div>
+    foo
+</div>
+

As should this: +

+
<div>foo</div>
+

Now, nested: +

+<div> + <div> + <div> + foo + </div> + </div> +</div> + +

This should just be an HTML comment: +

+<!-- Comment --> + +

Multiline: +

+<!-- +Blah +Blah +--> + +

Code block: +

+
<!-- Comment -->
+

Just plain comment, with trailing spaces on the line: +

+<!-- foo --> + +

Code: +

+
<hr />
+

Hr's: +

+<hr> + +<hr/> + +<hr /> + +<hr> + +<hr/> + +<hr /> + +<hr class="foo" id="bar" /> + +<hr class="foo" id="bar"/> + +<hr class="foo" id="bar" > \ No newline at end of file -- cgit v1.2.3