-
Notifications
You must be signed in to change notification settings - Fork 624
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #1580 from b4n/name-escape
Escape leading spaces in tag names instead of stripping them
- Loading branch information
Showing
14 changed files
with
86 additions
and
62 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
--sort=no |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
heading1 input.html /^<\/h1>$/;" h | ||
heading2 input.html /^<h1> heading2 <\/h1>$/;" h | ||
heading 3 input.html /^<h1>heading 3 <\/h1>$/;" h |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
<h1> | ||
heading1 | ||
</h1> | ||
<h1> heading2 </h1> | ||
<h1>heading 3 </h1> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
\n input.js /^let`$/;" v |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
--sort=no |
12 changes: 12 additions & 0 deletions
12
Units/parser-javascript.r/js-odd-method-names.d/expected.tags
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
\x21hello input.js /^ '!hello': function(){},$/;" m class:object | ||
\x20hello input.js /^ ' hello': function(){},$/;" m class:object | ||
<hello input.js /^ '<hello': function(){},$/;" m class:object | ||
>hello input.js /^ '>hello': function(){},$/;" m class:object | ||
\thello input.js /^ ' hello': function(){},$/;" m class:object | ||
\\hello input.js /^ '\\\\hello': function(){},$/;" m class:object | ||
;"hello input.js /^ ';"hello': function(){},$/;" m class:object | ||
"hello input.js /^ '"hello': function(){},$/;" m class:object | ||
'hello input.js /^ "'hello": function(){},$/;" m class:object | ||
hello! input.js /^ 'hello!': function(){},$/;" m class:object | ||
hello input.js /^ 'hello ': function(){},$/;" m class:object | ||
object input.js /^var object = {$/;" c |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
var object = { | ||
'!hello': function(){}, | ||
' hello': function(){}, | ||
'<hello': function(){}, | ||
'>hello': function(){}, | ||
' hello': function(){}, | ||
'\\hello': function(){}, | ||
';"hello': function(){}, | ||
'"hello': function(){}, | ||
"'hello": function(){}, | ||
'hello!': function(){}, | ||
'hello ': function(){}, | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters