swc/crates/swc_html_parser/tests/recovery/element/plaintext/output.stderr
2022-04-28 17:27:39 +00:00

38 lines
1.1 KiB
Plaintext
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

x Unexpected token
,-[$DIR/tests/recovery/element/plaintext/input.html:1:1]
1 | ,-> <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN"
2 | | "http://www.w3.org/TR/html4/strict.dtd">
3 | | <html>
4 | | <head>
5 | | <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
6 | | <title>Тег PLAINTEXT</title>
7 | | </head>
8 | | <body>
9 | | <p>Пример программы</p>
10 | | <plaintext>
11 | | <h1>Демонстрация метода Подборского</h1>
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 | | }</plaintext>
32 | | </body>
33 | `-> </html>
`----