mikex86 commited on
Commit
1c0a594
1 Parent(s): 7a94e88

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +2 -2
README.md CHANGED
@@ -129,7 +129,7 @@ Jsoup defines a `Node` as follows:
129
  > The base, abstract Node model. Elements, Documents, Comments etc are all Node instances.
130
 
131
  Additionally the existence of the `TextNode` should be noted, which represents floating text inside an HTML document that is not itself an HTML element.
132
- Thus this text tag `<p>Hello<code>World</code></p>` would have two Jsoup child nodes `TextNode(value="Hello")` and Element(tag="code", value="World")`.
133
  The value `field` of a `TextNode` contains the free standing text without any further treatment (no whitespace stripping, etc.)
134
 
135
  ### Traversing Rules
@@ -154,7 +154,7 @@ The value `field` of a `TextNode` contains the free standing text without any fu
154
  - When encountering a `<table>` tag
155
  - `\n| ` is emitted
156
  - For each element of `element.select("th")`
157
- - `${element.text()} | `
158
  - After the loop `\n| ` is emitted
159
  - For each element of `element.select("th")`
160
  - For each character of the `th.text()`
 
129
  > The base, abstract Node model. Elements, Documents, Comments etc are all Node instances.
130
 
131
  Additionally the existence of the `TextNode` should be noted, which represents floating text inside an HTML document that is not itself an HTML element.
132
+ Thus this text tag `<p>Hello<code>World</code></p>` would have two Jsoup child nodes `TextNode(value="Hello")` and `Element(tag="code", value="World")`.
133
  The value `field` of a `TextNode` contains the free standing text without any further treatment (no whitespace stripping, etc.)
134
 
135
  ### Traversing Rules
 
154
  - When encountering a `<table>` tag
155
  - `\n| ` is emitted
156
  - For each element of `element.select("th")`
157
+ - `${element.text()} | ` is emitted
158
  - After the loop `\n| ` is emitted
159
  - For each element of `element.select("th")`
160
  - For each character of the `th.text()`