- Notifications
You must be signed in to change notification settings - Fork69
Commitb95d51c
committed
Fix test-case failures due to character reference parsing bugs.
More completely, change the entire strucutre of the NCR array to be a multi-dimensional array with each dimension having as a key one character and a value possible further steps, and sometimes 'codepoint', which that point represents. Hence, to get & now, you would need $ncrs['a']['m']['p'][';']['codepoint']. 'codepoint' is required so we can cope with both & and & (which means it can't just be a value of &).This also removes Data::getNamedCharacterReferenceMaxLength(), as it is now useless.1 parentef63fc9 commitb95d51c
File tree
4 files changed
+63
-36
lines changed- library/HTML5
- maintenance
4 files changed
+63
-36
lines changedLines changed: 0 additions & 10 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
65 | 65 |
| |
66 | 66 |
| |
67 | 67 |
| |
68 |
| - | |
69 |
| - | |
70 |
| - | |
71 |
| - | |
72 |
| - | |
73 |
| - | |
74 |
| - | |
75 |
| - | |
76 |
| - | |
77 |
| - | |
78 | 68 |
| |
79 | 69 |
| |
80 | 70 |
| |
|
Lines changed: 38 additions & 18 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
2197 | 2197 |
| |
2198 | 2198 |
| |
2199 | 2199 |
| |
2200 |
| - | |
2201 |
| - | |
2202 |
| - | |
2203 |
| - | |
2204 |
| - | |
2205 |
| - | |
| 2200 | + | |
| 2201 | + | |
2206 | 2202 |
| |
2207 | 2203 |
| |
| 2204 | + | |
| 2205 | + | |
| 2206 | + | |
| 2207 | + | |
2208 | 2208 |
| |
2209 |
| - | |
2210 |
| - | |
2211 |
| - | |
2212 |
| - | |
2213 |
| - | |
| 2209 | + | |
| 2210 | + | |
| 2211 | + | |
| 2212 | + | |
| 2213 | + | |
| 2214 | + | |
2214 | 2215 |
| |
| 2216 | + | |
| 2217 | + | |
| 2218 | + | |
| 2219 | + | |
| 2220 | + | |
| 2221 | + | |
| 2222 | + | |
| 2223 | + | |
| 2224 | + | |
| 2225 | + | |
2215 | 2226 |
| |
2216 | 2227 |
| |
2217 | 2228 |
| |
| |||
2235 | 2246 |
| |
2236 | 2247 |
| |
2237 | 2248 |
| |
2238 |
| - | |
2239 | 2249 |
| |
2240 | 2250 |
| |
2241 | 2251 |
| |
| |||
2245 | 2255 |
| |
2246 | 2256 |
| |
2247 | 2257 |
| |
2248 |
| - | |
2249 |
| - | |
2250 |
| - | |
2251 |
| - | |
2252 |
| - | |
| 2258 | + | |
| 2259 | + | |
| 2260 | + | |
| 2261 | + | |
| 2262 | + | |
| 2263 | + | |
| 2264 | + | |
| 2265 | + | |
| 2266 | + | |
| 2267 | + | |
| 2268 | + | |
| 2269 | + | |
| 2270 | + | |
| 2271 | + | |
| 2272 | + | |
2253 | 2273 |
| |
2254 | 2274 |
| |
2255 | 2275 |
| |
2256 | 2276 |
| |
2257 | 2277 |
| |
2258 |
| - | |
| 2278 | + | |
2259 | 2279 |
| |
2260 | 2280 |
| |
2261 | 2281 |
| |
|
Lines changed: 1 addition & 1 deletion
Large diffs are not rendered by default.
Lines changed: 24 additions & 7 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
12 | 12 |
| |
13 | 13 |
| |
14 | 14 |
| |
15 |
| - | |
16 |
| - | |
17 |
| - | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
18 | 22 |
| |
19 | 23 |
| |
20 |
| - | |
| 24 | + | |
21 | 25 |
| |
22 | 26 |
| |
23 | 27 |
| |
24 | 28 |
| |
25 |
| - | |
26 |
| - | |
27 |
| - | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
28 | 45 |
| |
29 | 46 |
| |
30 | 47 |
|
0 commit comments
Comments
(0)