x Document
,-[$DIR/tests/recovery/element/plaintext/input.html:1:1]
1 | ,->
3 | |
4 | |
5 | |
6 | | Тег PLAINTEXT
7 | |
8 | |
9 | | Пример программы
10 | |
11 | | Демонстрация метода Подборского
12 | | while (<>) {
13 | | $org=$_;
14 | | s/\\["']//g;
15 | | s/\/\/[^:].*//;
16 | | s/\/\*.*\*\///g;
17 | | if ($comment == 1) {
18 | | if (s/.*\*\///) {
19 | | $comment = 0;
20 | | }
21 | | else {
22 | | next;
23 | | }
24 | | }
25 | | if (s/\/\*.*//) {
26 | | $comment = 1;
27 | | }
28 | | if (/^\s*#/) {
29 | | next;
30 | | }
31 | | }
32 | |
33 | `->
`----
x Child
,-[$DIR/tests/recovery/element/plaintext/input.html:1:1]
1 | ,-> "http://www.w3.org/TR/html4/strict.dtd">
`----
x DocumentType
,-[$DIR/tests/recovery/element/plaintext/input.html:1:1]
1 | ,-> "http://www.w3.org/TR/html4/strict.dtd">
`----
x Child
,-[$DIR/tests/recovery/element/plaintext/input.html:3:1]
3 | ,->
4 | |
5 | |
6 | | Тег PLAINTEXT
7 | |
8 | |
9 | | Пример программы
10 | |
11 | | Демонстрация метода Подборского
12 | | while (<>) {
13 | | $org=$_;
14 | | s/\\["']//g;
15 | | s/\/\/[^:].*//;
16 | | s/\/\*.*\*\///g;
17 | | if ($comment == 1) {
18 | | if (s/.*\*\///) {
19 | | $comment = 0;
20 | | }
21 | | else {
22 | | next;
23 | | }
24 | | }
25 | | if (s/\/\*.*//) {
26 | | $comment = 1;
27 | | }
28 | | if (/^\s*#/) {
29 | | next;
30 | | }
31 | | }
32 | |
33 | `->
`----
x Element
,-[$DIR/tests/recovery/element/plaintext/input.html:3:1]
3 | ,->
4 | |
5 | |
6 | | Тег PLAINTEXT
7 | |
8 | |
9 | | Пример программы
10 | |
11 | | Демонстрация метода Подборского
12 | | while (<>) {
13 | | $org=$_;
14 | | s/\\["']//g;
15 | | s/\/\/[^:].*//;
16 | | s/\/\*.*\*\///g;
17 | | if ($comment == 1) {
18 | | if (s/.*\*\///) {
19 | | $comment = 0;
20 | | }
21 | | else {
22 | | next;
23 | | }
24 | | }
25 | | if (s/\/\*.*//) {
26 | | $comment = 1;
27 | | }
28 | | if (/^\s*#/) {
29 | | next;
30 | | }
31 | | }
32 | |
33 | `->
`----
x Child
,-[$DIR/tests/recovery/element/plaintext/input.html:4:1]
4 | ,->
5 | |
6 | `-> Тег PLAINTEXT
7 |
`----
x Element
,-[$DIR/tests/recovery/element/plaintext/input.html:4:1]
4 | ,->
5 | |
6 | `-> Тег PLAINTEXT
7 |
`----
x Child
,-[$DIR/tests/recovery/element/plaintext/input.html:4:1]
4 | ,->
5 | `->
`----
x Text
,-[$DIR/tests/recovery/element/plaintext/input.html:4:1]
4 | ,->
5 | `->
`----
x Child
,-[$DIR/tests/recovery/element/plaintext/input.html:5:5]
5 |
: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
`----
x Element
,-[$DIR/tests/recovery/element/plaintext/input.html:5:5]
5 |
: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
`----
x Attribute
,-[$DIR/tests/recovery/element/plaintext/input.html:1:1]
1 |
6 | `-> Тег PLAINTEXT
`----
x Text
,-[$DIR/tests/recovery/element/plaintext/input.html:5:5]
5 | ,->
6 | `-> Тег PLAINTEXT
`----
x Child
,-[$DIR/tests/recovery/element/plaintext/input.html:6:5]
6 | Тег PLAINTEXT
: ^^^^^^^^^^^^^^^^^^^^^^^
`----
x Element
,-[$DIR/tests/recovery/element/plaintext/input.html:6:5]
6 | Тег PLAINTEXT
: ^^^^^^^^^^^^^^^^^^^^^^^
`----
x Child
,-[$DIR/tests/recovery/element/plaintext/input.html:6:5]
6 | Тег PLAINTEXT
: ^^^^^^^^^^^^^^^^
`----
x Text
,-[$DIR/tests/recovery/element/plaintext/input.html:6:5]
6 | Тег PLAINTEXT
: ^^^^^^^^^^^^^^^^
`----
x Child
,-[$DIR/tests/recovery/element/plaintext/input.html:6:5]
6 | Тег PLAINTEXT
: ^
7 |
`----
x Text
,-[$DIR/tests/recovery/element/plaintext/input.html:6:5]
6 | Тег PLAINTEXT
: ^
7 |
`----
x Child
,-[$DIR/tests/recovery/element/plaintext/input.html:7:1]
7 |
: ^
8 |
`----
x Text
,-[$DIR/tests/recovery/element/plaintext/input.html:7:1]
7 |
: ^
8 |
`----
x Child
,-[$DIR/tests/recovery/element/plaintext/input.html:8:1]
8 | ,->
9 | | Пример программы
10 | |
11 | | Демонстрация метода Подборского
12 | | while (<>) {
13 | | $org=$_;
14 | | s/\\["']//g;
15 | | s/\/\/[^:].*//;
16 | | s/\/\*.*\*\///g;
17 | | if ($comment == 1) {
18 | | if (s/.*\*\///) {
19 | | $comment = 0;
20 | | }
21 | | else {
22 | | next;
23 | | }
24 | | }
25 | | if (s/\/\*.*//) {
26 | | $comment = 1;
27 | | }
28 | | if (/^\s*#/) {
29 | | next;
30 | | }
31 | | }
32 | |
33 | `->
`----
x Element
,-[$DIR/tests/recovery/element/plaintext/input.html:8:1]
8 | ,->
9 | | Пример программы
10 | |
11 | | Демонстрация метода Подборского
12 | | while (<>) {
13 | | $org=$_;
14 | | s/\\["']//g;
15 | | s/\/\/[^:].*//;
16 | | s/\/\*.*\*\///g;
17 | | if ($comment == 1) {
18 | | if (s/.*\*\///) {
19 | | $comment = 0;
20 | | }
21 | | else {
22 | | next;
23 | | }
24 | | }
25 | | if (s/\/\*.*//) {
26 | | $comment = 1;
27 | | }
28 | | if (/^\s*#/) {
29 | | next;
30 | | }
31 | | }
32 | |
33 | `->