Home
last modified time | relevance | path

Searched refs:normalize_html (Results 1 – 25 of 71) sorted by relevance

123

/dports/devel/pear-PHPTAL/PHPTAL-1.3.0/tests/
H A DMetalSlotTest.php23 $res = normalize_html($tpl->execute());
51 $res = normalize_html($tpl->execute());
113 $res = normalize_html($tpl->execute());
142 $res = normalize_html($tpl->execute());
151 $res = normalize_html($tpl->execute());
160 $res = normalize_html($tpl->execute());
299 $this->assertEquals(normalize_html('
310 normalize_html($tpl->execute()));
334 $this->assertEquals(normalize_html('<p>
343 '),normalize_html($res));
[all …]
H A DOldTest.php23 $res = normalize_html($tpl->execute());
33 $res = normalize_html($res);
41 $res = normalize_html($tpl->execute());
49 $res = normalize_html($tpl->execute());
57 $res = normalize_html($tpl->execute());
81 $res = normalize_html($res);
90 $res = normalize_html($res);
100 $res = normalize_html($res);
110 $res = normalize_html($res);
146 $res = normalize_html($res);
[all …]
H A DTalDefineTest.php71 $res = normalize_html($res);
80 $res = normalize_html($res);
89 $res = normalize_html($res);
98 $res = normalize_html($res);
107 $res = normalize_html($res);
116 $res = normalize_html($res);
125 $res = normalize_html($res);
134 $res = normalize_html($res);
143 $res = normalize_html($res);
153 $res = normalize_html($res);
[all …]
H A DNamespacesTest.php31 $res = normalize_html($res);
40 $res = normalize_html($res);
47 $this->assertEquals(normalize_html_file('output/namespaces.03.html'), normalize_html($res));
54 $this->assertEquals(normalize_html($src), normalize_html($tpl->execute()));
63 … $this->assertEquals(normalize_html('<metal:block xmlns:metal="non-zope"> works </metal:block>'),
64 normalize_html($tpl->execute()));
74 …$this->assertEquals(normalize_html('<metal:block xmlns:metal="non-zope"> works properly </metal:bl…
75 normalize_html($tpl->execute()));
H A DTalReplaceTest.php23 $res = normalize_html($tpl->execute());
32 $res = normalize_html($tpl->execute());
41 $res = normalize_html($tpl->execute());
49 $res = normalize_html($tpl->execute());
57 $res = normalize_html($tpl->execute());
65 $res = normalize_html($tpl->execute());
73 $res = normalize_html($tpl->execute());
99 $this->assertEquals(normalize_html($exp), normalize_html($res));
H A DContentInterpolationTest.php112 $this->assertEquals(normalize_html('<p>
120 </p>'), normalize_html($tpl->execute()));
139 $this->assertEquals(normalize_html('<p>
147 </p>'), normalize_html($tpl->execute()));
166 $this->assertEquals(normalize_html('<p>
174 </p>'), normalize_html($tpl->execute()));
193 $this->assertEquals(normalize_html('<script><![CDATA[<
201 ]]></script>'), normalize_html($tpl->execute()));
228 ]]></script>'), normalize_html($tpl->execute()));
247 $this->assertEquals(normalize_html('<p>
[all …]
H A DTalConditionTest.php23 $res = normalize_html($tpl->execute());
31 $res = normalize_html($tpl->execute());
40 $res = normalize_html($tpl->execute());
86 $this->assertEquals(normalize_html("
94 "), normalize_html($tpl->execute()));
109 $this->assertEquals(normalize_html("
118 "), normalize_html($tpl->execute()));
132 $this->assertEquals(normalize_html("
141 "), normalize_html($tpl->execute()));
H A DTalRepeatTest.php23 $res = normalize_html($tpl->execute());
32 $res = normalize_html($tpl->execute());
42 $res = normalize_html($res);
97 $res = normalize_html($res);
106 $res = normalize_html($tpl->execute());
116 $res = normalize_html($tpl->execute());
126 $res = normalize_html($tpl->execute());
158 $res = normalize_html( $tpl->execute() );
168 $res = normalize_html( $tpl->execute() );
185 $exp = normalize_html('
[all …]
H A DGetTextTest.php42 $res = normalize_html($tpl->execute());
60 $res = normalize_html($tpl->execute());
81 $res = normalize_html($tpl->execute());
104 $res = normalize_html($tpl->execute());
119 $res = normalize_html($tpl->execute());
135 $res = normalize_html($res);
150 $res = normalize_html($res);
151 $exp = normalize_html('<root>
170 $res = normalize_html($res);
H A DXHTMLModeTest.php44 $res = normalize_html($res);
45 $exp = normalize_html('<html xmlns="http://www.w3.org/1999/xhtml">
116 $res = normalize_html($res);
117 $exp = normalize_html('<html xmlns="http://www.w3.org/1999/xhtml">
158 $this->assertEquals(normalize_html('<select>
162 </select>'), normalize_html($tpl->execute()));
H A DOldPreFilterTest.php45 $res = normalize_html($tpl->execute());
56 $res = normalize_html($tpl->execute());
68 $res = normalize_html($tpl->execute());
69 $exp = normalize_html('<root>filtered</root>');
79 $res = normalize_html($tpl->execute());
80 $exp = normalize_html('<root>filtered</root>');
H A DCommentFilterTest.php24 $res = normalize_html($res);
37 $this->assertEquals(normalize_html('<script>//<![CDATA[
39 //]]></script>'), normalize_html($t->execute()));
50 …$this->assertEquals(normalize_html('<script xmlns="http://example.com/foo">//</script>'), normaliz…
H A DI18NTranslateTest.php35 $res = normalize_html($res);
46 $res = normalize_html($res);
82 $this->assertEquals(normalize_html('<div>
85 </div>'), normalize_html($tpl->execute()));
99 … $this->assertEquals(normalize_html('<div>foobaz${quz}</div>'), normalize_html($tpl->execute()));
113 … $this->assertEquals(normalize_html('<div>foo2${quz}</div>'), normalize_html($tpl->execute()));
H A DTalContentTest.php31 $res = normalize_html($tpl->execute());
40 $res = normalize_html($tpl->execute());
49 $res = normalize_html($tpl->execute());
57 $res = normalize_html($tpl->execute());
65 $res = normalize_html($tpl->execute());
73 $res = normalize_html($tpl->execute());
99 $this->assertEquals(normalize_html($exp), normalize_html($res));
H A DDoctypeTest.php23 $res = normalize_html($res);
43 $res = normalize_html($res);
52 $res = normalize_html($res);
61 $res = normalize_html($res);
91 …$this->assertEquals(normalize_html('<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http…
92 normalize_html($tpl->execute()));
H A DCodeCacheTest.php161 …$this->assertEquals(normalize_html('<div> 1 <div> 2 </div> </div>'), normalize_html($this->phptal-…
162 …$this->assertEquals(normalize_html('<div> 1 <div> 2 </div> </div>'), normalize_html($this->phptal-…
163 …$this->assertEquals(normalize_html('<div> 1 <div> 2 </div> </div>'), normalize_html($this->phptal-…
164 …$this->assertEquals(normalize_html('<div> 1 <div> 2 </div> </div>'), normalize_html($this->phptal-…
/dports/devel/rust-analyzer/rust-analyzer-2021-12-20/cargo-crates/pulldown-cmark-0.8.0/tests/
H A Dlib.rs35 assert_eq!(normalize_html(output), normalize_html(&s)); in test_markdown_html()
117 fn normalize_html(s: &str) -> String { in normalize_html() function
363 assert_eq!("<div></div>", normalize_html("<div>\n</div>")); in strip_div_newline()
368 assert_eq!("test", normalize_html("test\n")); in strip_end_newline()
373 assert_eq!("test mess", normalize_html("test mess")); in strip_double_space()
380 normalize_html("<u> a </u> b <u> c </u>") in strip_inline_internal_text()
388 normalize_html(" <u> a </u> b <u> c </u> ") in strip_inline_block_internal_text()
394 assert_eq!("<u>a</u> b <u>c</u>", normalize_html("<u>a</u> b <u>c</u>")) in leaves_necessary_whitespace_alone()
401 normalize_html(" <u>a </u>b <u>c</u>") in leaves_necessary_whitespace_alone_weird()
409 normalize_html("<u> </u><u> </u><u> </u><u> </u>") in leaves_necessary_whitespace_all_nested()
[all …]
/dports/lang/gleam/gleam-0.18.2/cargo-crates/pulldown-cmark-0.8.0/tests/
H A Dlib.rs35 assert_eq!(normalize_html(output), normalize_html(&s)); in test_markdown_html()
117 fn normalize_html(s: &str) -> String { in normalize_html() function
363 assert_eq!("<div></div>", normalize_html("<div>\n</div>")); in strip_div_newline()
368 assert_eq!("test", normalize_html("test\n")); in strip_end_newline()
373 assert_eq!("test mess", normalize_html("test mess")); in strip_double_space()
380 normalize_html("<u> a </u> b <u> c </u>") in strip_inline_internal_text()
388 normalize_html(" <u> a </u> b <u> c </u> ") in strip_inline_block_internal_text()
394 assert_eq!("<u>a</u> b <u>c</u>", normalize_html("<u>a</u> b <u>c</u>")) in leaves_necessary_whitespace_alone()
401 normalize_html(" <u>a </u>b <u>c</u>") in leaves_necessary_whitespace_alone_weird()
409 normalize_html("<u> </u><u> </u><u> </u><u> </u>") in leaves_necessary_whitespace_all_nested()
[all …]
/dports/editors/kak-lsp/kak-lsp-11.1.0/cargo-crates/pulldown-cmark-0.8.0/tests/
H A Dlib.rs35 assert_eq!(normalize_html(output), normalize_html(&s)); in test_markdown_html()
117 fn normalize_html(s: &str) -> String { in normalize_html() function
363 assert_eq!("<div></div>", normalize_html("<div>\n</div>")); in strip_div_newline()
368 assert_eq!("test", normalize_html("test\n")); in strip_end_newline()
373 assert_eq!("test mess", normalize_html("test mess")); in strip_double_space()
380 normalize_html("<u> a </u> b <u> c </u>") in strip_inline_internal_text()
388 normalize_html(" <u> a </u> b <u> c </u> ") in strip_inline_block_internal_text()
394 assert_eq!("<u>a</u> b <u>c</u>", normalize_html("<u>a</u> b <u>c</u>")) in leaves_necessary_whitespace_alone()
401 normalize_html(" <u>a </u>b <u>c</u>") in leaves_necessary_whitespace_alone_weird()
409 normalize_html("<u> </u><u> </u><u> </u><u> </u>") in leaves_necessary_whitespace_all_nested()
[all …]
/dports/editors/helix/helix-0.5.0/cargo-crates/pulldown-cmark-0.8.0/tests/
H A Dlib.rs35 assert_eq!(normalize_html(output), normalize_html(&s)); in test_markdown_html()
117 fn normalize_html(s: &str) -> String { in normalize_html() function
363 assert_eq!("<div></div>", normalize_html("<div>\n</div>")); in strip_div_newline()
368 assert_eq!("test", normalize_html("test\n")); in strip_end_newline()
373 assert_eq!("test mess", normalize_html("test mess")); in strip_double_space()
380 normalize_html("<u> a </u> b <u> c </u>") in strip_inline_internal_text()
388 normalize_html(" <u> a </u> b <u> c </u> ") in strip_inline_block_internal_text()
394 assert_eq!("<u>a</u> b <u>c</u>", normalize_html("<u>a</u> b <u>c</u>")) in leaves_necessary_whitespace_alone()
401 normalize_html(" <u>a </u>b <u>c</u>") in leaves_necessary_whitespace_alone_weird()
409 normalize_html("<u> </u><u> </u><u> </u><u> </u>") in leaves_necessary_whitespace_all_nested()
[all …]
/dports/www/zola/zola-0.15.2/cargo-crates/pulldown-cmark-0.8.0/tests/
H A Dlib.rs35 assert_eq!(normalize_html(output), normalize_html(&s)); in test_markdown_html()
117 fn normalize_html(s: &str) -> String { in normalize_html() function
363 assert_eq!("<div></div>", normalize_html("<div>\n</div>")); in strip_div_newline()
368 assert_eq!("test", normalize_html("test\n")); in strip_end_newline()
373 assert_eq!("test mess", normalize_html("test mess")); in strip_double_space()
380 normalize_html("<u> a </u> b <u> c </u>") in strip_inline_internal_text()
388 normalize_html(" <u> a </u> b <u> c </u> ") in strip_inline_block_internal_text()
394 assert_eq!("<u>a</u> b <u>c</u>", normalize_html("<u>a</u> b <u>c</u>")) in leaves_necessary_whitespace_alone()
401 normalize_html(" <u>a </u>b <u>c</u>") in leaves_necessary_whitespace_alone_weird()
409 normalize_html("<u> </u><u> </u><u> </u><u> </u>") in leaves_necessary_whitespace_all_nested()
[all …]
/dports/textproc/mdbook/mdBook-0.4.13/cargo-crates/pulldown-cmark-0.7.2/tests/
H A Dlib.rs32 assert_eq!(normalize_html(output), normalize_html(&s)); in test_markdown_html()
114 fn normalize_html(s: &str) -> String { in normalize_html() function
360 assert_eq!("<div></div>", normalize_html("<div>\n</div>")); in strip_div_newline()
365 assert_eq!("test", normalize_html("test\n")); in strip_end_newline()
370 assert_eq!("test mess", normalize_html("test mess")); in strip_double_space()
377 normalize_html("<u> a </u> b <u> c </u>") in strip_inline_internal_text()
385 normalize_html(" <u> a </u> b <u> c </u> ") in strip_inline_block_internal_text()
391 assert_eq!("<u>a</u> b <u>c</u>", normalize_html("<u>a</u> b <u>c</u>")) in leaves_necessary_whitespace_alone()
398 normalize_html(" <u>a </u>b <u>c</u>") in leaves_necessary_whitespace_alone_weird()
406 normalize_html("<u> </u><u> </u><u> </u><u> </u>") in leaves_necessary_whitespace_all_nested()
[all …]
/dports/textproc/mdbook-linkcheck/mdbook-linkcheck-0.7.6/cargo-crates/pulldown-cmark-0.7.2/tests/
H A Dlib.rs32 assert_eq!(normalize_html(output), normalize_html(&s)); in test_markdown_html()
114 fn normalize_html(s: &str) -> String { in normalize_html() function
360 assert_eq!("<div></div>", normalize_html("<div>\n</div>")); in strip_div_newline()
365 assert_eq!("test", normalize_html("test\n")); in strip_end_newline()
370 assert_eq!("test mess", normalize_html("test mess")); in strip_double_space()
377 normalize_html("<u> a </u> b <u> c </u>") in strip_inline_internal_text()
385 normalize_html(" <u> a </u> b <u> c </u> ") in strip_inline_block_internal_text()
391 assert_eq!("<u>a</u> b <u>c</u>", normalize_html("<u>a</u> b <u>c</u>")) in leaves_necessary_whitespace_alone()
398 normalize_html(" <u>a </u>b <u>c</u>") in leaves_necessary_whitespace_alone_weird()
406 normalize_html("<u> </u><u> </u><u> </u><u> </u>") in leaves_necessary_whitespace_all_nested()
[all …]
/dports/textproc/mdbook-linkcheck/mdbook-linkcheck-0.7.6/cargo-crates/pulldown-cmark-0.8.0/tests/
H A Dlib.rs35 assert_eq!(normalize_html(output), normalize_html(&s)); in test_markdown_html()
117 fn normalize_html(s: &str) -> String { in normalize_html() function
363 assert_eq!("<div></div>", normalize_html("<div>\n</div>")); in strip_div_newline()
368 assert_eq!("test", normalize_html("test\n")); in strip_end_newline()
373 assert_eq!("test mess", normalize_html("test mess")); in strip_double_space()
380 normalize_html("<u> a </u> b <u> c </u>") in strip_inline_internal_text()
388 normalize_html(" <u> a </u> b <u> c </u> ") in strip_inline_block_internal_text()
394 assert_eq!("<u>a</u> b <u>c</u>", normalize_html("<u>a</u> b <u>c</u>")) in leaves_necessary_whitespace_alone()
401 normalize_html(" <u>a </u>b <u>c</u>") in leaves_necessary_whitespace_alone_weird()
409 normalize_html("<u> </u><u> </u><u> </u><u> </u>") in leaves_necessary_whitespace_all_nested()
[all …]
/dports/lang/rust/rustc-1.58.1-src/vendor/pulldown-cmark/tests/
H A Dlib.rs35 assert_eq!(normalize_html(output), normalize_html(&s)); in test_markdown_html()
117 fn normalize_html(s: &str) -> String { in normalize_html() function
363 assert_eq!("<div></div>", normalize_html("<div>\n</div>")); in strip_div_newline()
368 assert_eq!("test", normalize_html("test\n")); in strip_end_newline()
373 assert_eq!("test mess", normalize_html("test mess")); in strip_double_space()
380 normalize_html("<u> a </u> b <u> c </u>") in strip_inline_internal_text()
388 normalize_html(" <u> a </u> b <u> c </u> ") in strip_inline_block_internal_text()
394 assert_eq!("<u>a</u> b <u>c</u>", normalize_html("<u>a</u> b <u>c</u>")) in leaves_necessary_whitespace_alone()
401 normalize_html(" <u>a </u>b <u>c</u>") in leaves_necessary_whitespace_alone_weird()
409 normalize_html("<u> </u><u> </u><u> </u><u> </u>") in leaves_necessary_whitespace_all_nested()
[all …]

123