File tree Expand file tree Collapse file tree 3 files changed +14
-3
lines changed
Expand file tree Collapse file tree 3 files changed +14
-3
lines changed Original file line number Diff line number Diff line change @@ -10,4 +10,4 @@ action:
1010 - remove
1111 - ' '
1212tokens :
13- - ' ( [—–]\s)|( \s[—–]) '
13+ - ' [—–]\s| \s[—–]'
Original file line number Diff line number Diff line change @@ -86,7 +86,11 @@ Feature: Rules
8686 When I test "Dashes"
8787 Then the output should contain exactly:
8888 """
89- test.md:3:42:Microsoft.Dashes:Remove the spaces around ' — '.
89+ test.md:3:42:Microsoft.Dashes:Remove the spaces around ' —'.
90+ test.md:7:7:Microsoft.Dashes:Remove the spaces around ' —'.
91+ test.md:8:7:Microsoft.Dashes:Remove the spaces around '— '.
92+ test.md:9:7:Microsoft.Dashes:Remove the spaces around ' —'.
93+ test.md:10:7:Microsoft.Dashes:Remove the spaces around ' —'.
9094 """
9195
9296 Scenario : Use of units
Original file line number Diff line number Diff line change 11# Dashes
22
3- Emdashs should not be separated by spaces — not like this!
3+ Emdashs should not be separated by spaces —not like this!
4+
5+ phases—Best
6+
7+ phases —Best
8+ phases— Best
9+ phases — Best
10+ phases — Best
You can’t perform that action at this time.
0 commit comments