Test HTML Property Expected PHP Ruby Python Go Node
1
<div class="h-entry">
  <div class="e-content p-name"><p>Hello World</p></div>
</div>
name
Hello World
Hello World
Hello World
Hello World
Hello World
Hello World
content.value
Hello World
Hello World
Hello World
Hello World
Hello World
Hello World
content.html
<p>Hello World</p>
<p>Hello World</p>
<p>Hello World</p>
<p>Hello World</p>
<p>Hello World</p>
<p>Hello World</p>
2
<div class="h-entry">
  <div class="e-content p-name"><p>Hello<br>World</p></div>
</div>
name
Hello\nWorld
Hello\nWorld
HelloWorld
Hello\nWorld
HelloWorld
HelloWorld
content.value
Hello\nWorld
Hello\nWorld
HelloWorld
Hello\nWorld
HelloWorld
HelloWorld
content.html
<p>Hello<br>World</p>
<p>Hello<br>World</p>
<p>Hello<br>World</p>
<p>Hello<br/>World</p>
<p>Hello<br/>World</p>
<p>Hello<br />World</p>
3
<div class="h-entry">
  <div class="e-content p-name"><p>Hello<br>
World</p></div>
</div>
name
Hello\nWorld
Hello\nWorld
Hello\nWorld
Hello\nWorld
Hello\nWorld
Hello\nWorld
content.value
Hello\nWorld
Hello\nWorld
Hello\nWorld
Hello\nWorld
Hello\nWorld
Hello\nWorld
content.html
<p>Hello<br>\nWorld</p>
<p>Hello<br>\nWorld</p>
<p>Hello<br>\nWorld</p>
<p>Hello<br/>\nWorld</p>
<p>Hello<br/>\nWorld</p>
<p>Hello<br />\nWorld</p>
4
<div class="h-entry">
  <div class="e-content p-name">
    <p>Hello World</p>
  </div>
</div>
name
Hello World
Hello World
Hello World
Hello World
Hello World
Hello World
content.value
Hello World
Hello World
Hello World
Hello World
\n    Hello World\n  
Hello World
content.html
<p>Hello World</p>
<p>Hello World</p>
\n    <p>Hello World</p>\n
<p>Hello World</p>
<p>Hello World</p>
\n    <p>Hello World</p>\n  
5
<div class="h-entry">
  <div class="e-content p-name">Hello
World</div>
</div>
name
Hello World
Hello World
Hello\nWorld
Hello World
Hello\nWorld
Hello\nWorld
content.value
Hello World
Hello World
Hello\nWorld
Hello World
Hello\nWorld
Hello\nWorld
content.html
Hello\nWorld
Hello\nWorld
Hello\nWorld
Hello\nWorld
Hello\nWorld
Hello\nWorld
6
<div class="h-entry">
  <div class="e-content p-name"><p>Hello</p><p>World</p></div>
</div>
name
Hello\nWorld
Hello\nWorld
Hello\nWorld
Hello\nWorld
HelloWorld
HelloWorld
content.value
Hello\nWorld
Hello\nWorld
Hello\nWorld
Hello\nWorld
HelloWorld
HelloWorld
content.html
<p>Hello</p><p>World</p>
<p>Hello</p><p>World</p>
<p>Hello</p>\n<p>World</p>
<p>Hello</p><p>World</p>
<p>Hello</p><p>World</p>
<p>Hello</p><p>World</p>
7
<div class="h-entry">
  <div class="e-content p-name">Hello<br>
    World</div>
</div>
name
Hello\nWorld
Hello\nWorld
Hello\n    World
Hello\nWorld
Hello\n    World
Hello\n    World
content.value
Hello\nWorld
Hello\nWorld
Hello\n    World
Hello\nWorld
Hello\n    World
Hello\n    World
content.html
Hello<br>\n    World
Hello<br>\n    World
Hello<br>\n    World
Hello<br/>\n    World
Hello<br/>\n    World
Hello<br />\n    World
8
<div class="h-entry">
  <div class="e-content p-name"><br>Hello<br>World<br></div>
</div>
name
Hello\nWorld
Hello\nWorld
HelloWorld
Hello\nWorld
HelloWorld
HelloWorld
content.value
Hello\nWorld
Hello\nWorld
HelloWorld
Hello\nWorld
HelloWorld
HelloWorld
content.html
<br>Hello<br>World<br>
<br>Hello<br>World<br>
<br>Hello<br>World<br>
<br/>Hello<br/>World<br/>
<br/>Hello<br/>World<br/>
<br />Hello<br />World<br />
9
<div class="h-entry">
  <div class="e-content p-name">
    <p>One</p>
    <p>Two</p>
    <p>Three</p>
  </div>
</div>
name
One\nTwo\nThree
One\nTwo\nThree
One\n    Two\n    Three
One\nTwo\nThree
One\n    Two\n    Three
One\n    Two\n    Three
content.value
One\nTwo\nThree
One\nTwo\nThree
One\n    Two\n    Three
One\nTwo\nThree
\n    One\n    Two\n    Three\n  
One\n    Two\n    Three
content.html
<p>One</p>\n    <p>Two</p>\n    <p>Three</p>
<p>One</p>\n    <p>Two</p>\n    <p>Three</p>
\n    <p>One</p>\n    <p>Two</p>\n    <p>Three</p>\n
<p>One</p>\n    <p>Two</p>\n    <p>Three</p>
<p>One</p>\n    <p>Two</p>\n    <p>Three</p>
\n    <p>One</p>\n    <p>Two</p>\n    <p>Three</p>\n  
10
<div class="h-entry">
  <div class="e-content p-name">
    <pre>one
two
three</pre>
  </div>
</div>
name
one\ntwo\nthree
one two three
one\ntwo\nthree
one two three
one\ntwo\nthree
one\ntwo\nthree
content.value
one\ntwo\nthree
one two three
one\ntwo\nthree
one two three
\n    one\ntwo\nthree\n  
one\ntwo\nthree
content.html
<pre>one\ntwo\nthree</pre>
<pre>one\ntwo\nthree</pre>
\n    <pre>one\ntwo\nthree</pre>\n
<pre>one\ntwo\nthree</pre>
<pre>one\ntwo\nthree</pre>
\n    <pre>one\ntwo\nthree</pre>\n  
11
<div class="h-entry">
  <div class="e-content p-name">
    Hello World
    <pre>
      one
      two
      three
    </pre>
  </div>
</div>
name
Hello World\n      one\n      two\n      three\n    
Hello World one two three
Hello World\n    \n      one\n      two\n      three
Hello World one two three
Hello World\n          one\n      two\n      three
Hello World\n    \n      one\n      two\n      three
content.value
Hello World\n      one\n      two\n      three\n    
Hello World one two three
Hello World\n    \n      one\n      two\n      three
Hello World one two three
\n    Hello World\n          one\n      two\n      three\n    \n  
Hello World\n    \n      one\n      two\n      three
content.html
Hello World\n    <pre>\n      one\n      two\n      three\n    </pre>
Hello World\n    <pre>\n      one\n      two\n      three\n    </pre>
\n    Hello World\n    <pre>\n      one\n      two\n      three\n    </pre>\n
Hello World\n    <pre>      one\n      two\n      three\n    </pre>
Hello World\n    <pre>      one\n      two\n      three\n    </pre>
\n    Hello World\n    <pre>\n      one\n      two\n      three\n    </pre>\n  
12
<body class="h-entry">
<div class="e-content">
<span class="p-name">Correct name</span>

<span class="p-summary">Correct summary</span>
</div>
</body>
name
Correct name
Correct name
Correct name
Correct name
Correct name
Correct name
content.value
Correct name Correct summary
Correct name Correct summary
Correct name\n\nCorrect summary
Correct name Correct summary
\nCorrect name\n\nCorrect summary\n
Correct name\n\nCorrect summary
content.html
<span class="p-name">Correct name</span>\n\n<span class="p-summary">Correct summary</span>
<span class="p-name">Correct name</span>\n\n<span class="p-summary">Correct summary</span>
\n<span class="p-name">Correct name</span>\n\n<span class="p-summary">Correct summary</span>\n
<span class="p-name">Correct name</span>\n\n<span class="p-summary">Correct summary</span>
<span class="p-name">Correct name</span>\n\n<span class="p-summary">Correct summary</span>
\n<span class="p-name">Correct name</span>\n\n<span class="p-summary">Correct summary</span>\n