Commit a6db950
Fix problem with Document class and html() function (#19)
* 🩹 Remove XML declaration and comments from HTML output in Document class.
* 🩹 Improve comment removal in Document class by using a non-greedy regex match.
* 🎨 Remove comments
* 🩹 Refactor Document class constructor to simplify XML handling and remove unnecessary methods.
* 🩹 Remove unused Str import from Document class
---------
Co-authored-by: Brandon <[email protected]>
Co-authored-by: QWp6t <[email protected]>1 parent 708b689 commit a6db950
1 file changed
+4
-34
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
5 | 5 | | |
6 | 6 | | |
7 | 7 | | |
8 | | - | |
9 | 8 | | |
10 | 9 | | |
11 | 10 | | |
| |||
14 | 13 | | |
15 | 14 | | |
16 | 15 | | |
17 | | - | |
18 | | - | |
19 | | - | |
20 | | - | |
21 | | - | |
22 | 16 | | |
23 | 17 | | |
24 | 18 | | |
25 | 19 | | |
26 | 20 | | |
27 | | - | |
28 | | - | |
29 | | - | |
| 21 | + | |
30 | 22 | | |
31 | 23 | | |
32 | | - | |
33 | | - | |
| 24 | + | |
| 25 | + | |
34 | 26 | | |
35 | | - | |
36 | | - | |
37 | 27 | | |
38 | 28 | | |
39 | 29 | | |
| |||
69 | 59 | | |
70 | 60 | | |
71 | 61 | | |
72 | | - | |
73 | | - | |
74 | | - | |
75 | | - | |
76 | | - | |
77 | | - | |
78 | | - | |
79 | | - | |
80 | | - | |
81 | | - | |
82 | | - | |
83 | | - | |
84 | | - | |
85 | | - | |
86 | | - | |
87 | | - | |
88 | | - | |
89 | | - | |
90 | | - | |
91 | | - | |
92 | | - | |
| 62 | + | |
93 | 63 | | |
94 | 64 | | |
95 | 65 | | |
| |||
0 commit comments