|
237 | 237 | ## ^^^^^^^^^^^^^^^ string.unquoted
|
238 | 238 | ## ^^ punctuation.definition.tag.end.html
|
239 | 239 |
|
240 |
| - <img src=/f̱oo⏡/bar/baz/ /> |
| 240 | + <!-- Match utf-8 escapes (%2F) in src tags --> |
| 241 | + <img src=/f̱oo⏡/bar%2Fbaz/ /> |
241 | 242 | ## ^ - meta.attribute-with-value
|
242 | 243 | ## ^^^ entity.other.attribute-name
|
243 |
| - ## ^^^^^^^^^^^^^^^^^^^ meta.attribute-with-value |
244 |
| - ## ^^^^^^^^^^^^^^^ string.unquoted |
245 |
| - ## ^ - meta.attribute-with-value |
246 |
| - ## ^^ punctuation.definition.tag.end.html |
| 244 | + ## ^^^^^^^^^^^^^^^^^^^^^ meta.attribute-with-value |
| 245 | + ## ^^^^^^^^^^^^^^^^^ string.unquoted |
| 246 | + ## ^ - constant.character.escape |
| 247 | + ## ^ constant.character.escape.url.html punctuation.definition.escape.html |
| 248 | + ## ^^ constant.character.escape.url.html - punctuation.definition |
| 249 | + ## ^ - constant.character.escape |
| 250 | + ## ^ - meta.attribute-with-value |
| 251 | + ## ^^ punctuation.definition.tag.end.html |
| 252 | + |
| 253 | + <!-- Match utf-8 escapes (%2F) in href tags --> |
| 254 | + <img href="/foo%2Fbar.com" /> |
| 255 | + ## ^ - meta.attribute-with-value |
| 256 | + ## ^^^^ entity.other.attribute-name |
| 257 | + ## ^^^^^^^^^^^^^^^^^^^^^ meta.attribute-with-value |
| 258 | + ## ^^^^^^^^^^^^^^^^ string.quoted.double |
| 259 | + ## ^ constant.character.escape.url.html punctuation.definition.escape.html |
| 260 | + ## ^^ constant.character.escape.url.html - punctuation.definition |
| 261 | + ## ^ - meta.attribute-with-value |
| 262 | + ## ^^ punctuation.definition.tag.end.html |
| 263 | + |
| 264 | + <!-- Don't match utf-8 escapes (%2F) in other than href/src tags --> |
| 265 | + <img title="http://foo%2Fbar.com" /> |
| 266 | + ## ^ - meta.attribute-with-value |
| 267 | + ## ^^^ entity.other.attribute-name |
| 268 | + ## ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ meta.attribute-with-value |
| 269 | + ## ^^^^^^^^^^^^^^^^^^^^^^ string.quoted.double - constant.character.escape |
| 270 | + ## ^ - meta.attribute-with-value |
| 271 | + ## ^^ punctuation.definition.tag.end.html |
247 | 272 |
|
248 | 273 | <img title=foo"/>
|
249 | 274 | ## ^ - meta.attribute-with-value
|
|
682 | 707 | ## ^^^^ - constant.character.entity
|
683 | 708 |
|
684 | 709 |
|
685 |
| - <a href="http://google.com/?one=1&two=2"></a> |
686 |
| - ## ^^^^^ constant.character.entity |
| 710 | + <a href="http://google%20api.com/?one=1&two=2"></a> |
| 711 | + ## ^^^ constant.character.escape.url |
| 712 | + ## ^^^^^ constant.character.entity |
687 | 713 | <a href="http://google.com/?one=1&two=2"></a>
|
688 | 714 | ## ^ - constant.character.entity
|
689 | 715 | ## ^ - invalid.illegal
|
|
0 commit comments