aboutsummaryrefslogtreecommitdiff
path: root/tests/core/assets/XML/entities.html
blob: a60f45070d58709a01309ebe91ffd609492a8aa1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
<html>
	<head>
		<title>Entity Reference Test</title>
		<style>
			body {
				background: #000; color: #eee;
				width: 40%;
				margin-left:  auto;
				margin-right: auto;
				font-size: 14pt;
			}
		</style>
	</head>
	<body>
		<h1>Entity Reference Test</h1>
		<div id="test_cdata_in_comment" foo="">
			Foozle]!&#32;&copy;&#x20;<!-- <![CDATA[&#32;&reg;&#x20;]]> -->42&;1234&
		</div>
		<!-- foo attribute should be empty but present -->
		<!-- EXPECTED: Foozle]! © 42&;1234& -->
		<div id="test_cdata_unwrap_and_passthrough">
			Foozle]!&#32;&copy;&#x20;<![CDATA[BOX&#32;&reg;&#x20;/BOX]]>42&;1234&
		</div>
		<!-- EXPECTED: Foozle]! © BOX ® /BOX42&;1234& -->
		<div>
			&verbar; &vert; &VerticalLine; &fjlig; &grave; &bsol; &reg; &rhov; &CounterClockwiseContourIntegral; &bsemi;
		</div>
		<div> H<![CDATA[ellope!]]>Hellope!</div>
		<div>	H<![CDATA[ellope!]]>Hellope!</div>
		<div> H<![CDATA[ellope!]]>Hellope! </div>
		<div>	H<![CDATA[ellope!]]>Hellope!	</div>
		<div>H<![CDATA[ellope!]]>Hellope! </div>
	</body>
</html>