@@ -52,13 +52,13 @@ func TestEmphasis(t *testing.T) {
52
52
".nh\n \n .PP\n over \\ fItwo\n lines\\ fP test\n " ,
53
53
54
54
"odd _number of_ markers_ here\n " ,
55
- ".nh\n \n .PP\n odd \\ fInumber of\\ fP markers \\ _ here\n " ,
55
+ ".nh\n \n .PP\n odd \\ fInumber of\\ fP markers_ here\n " ,
56
56
57
57
"odd _number\n of_ markers_ here\n " ,
58
- ".nh\n \n .PP\n odd \\ fInumber\n of\\ fP markers \\ _ here\n " ,
58
+ ".nh\n \n .PP\n odd \\ fInumber\n of\\ fP markers_ here\n " ,
59
59
60
60
"mix of *markers_\n " ,
61
- ".nh\n \n .PP\n mix of *markers \\ _ \n " ,
61
+ ".nh\n \n .PP\n mix of *markers_ \n " ,
62
62
63
63
"*What is A\\ * algorithm?*\n " ,
64
64
".nh\n \n .PP\n \\ fIWhat is A* algorithm?\\ fP\n " ,
@@ -108,13 +108,13 @@ func TestStrong(t *testing.T) {
108
108
".nh\n \n .PP\n over \\ fBtwo\n lines\\ fP test\n " ,
109
109
110
110
"odd __number of__ markers__ here\n " ,
111
- ".nh\n \n .PP\n odd \\ fBnumber of\\ fP markers \\ _ \\ _ here\n " ,
111
+ ".nh\n \n .PP\n odd \\ fBnumber of\\ fP markers__ here\n " ,
112
112
113
113
"odd __number\n of__ markers__ here\n " ,
114
- ".nh\n \n .PP\n odd \\ fBnumber\n of\\ fP markers \\ _ \\ _ here\n " ,
114
+ ".nh\n \n .PP\n odd \\ fBnumber\n of\\ fP markers__ here\n " ,
115
115
116
116
"mix of **markers__\n " ,
117
- ".nh\n \n .PP\n mix of **markers \\ _ \\ _ \n " ,
117
+ ".nh\n \n .PP\n mix of **markers__ \n " ,
118
118
119
119
"**`/usr`** : this folder is named `usr`\n " ,
120
120
".nh\n \n .PP\n \\ fB\\ fB\\ fC/usr\\ fR\\ fP : this folder is named \\ fB\\ fCusr\\ fR\n " ,
@@ -137,7 +137,7 @@ func TestEmphasisMix(t *testing.T) {
137
137
".nh\n \n .PP\n \\ fB\\ fItriple emphasis\\ fP\\ fP\n " ,
138
138
139
139
"***triple emphasis___\n " ,
140
- ".nh\n \n .PP\n ***triple emphasis \\ _ \\ _ \\ _ \n " ,
140
+ ".nh\n \n .PP\n ***triple emphasis___ \n " ,
141
141
142
142
"*__triple emphasis__*\n " ,
143
143
".nh\n \n .PP\n \\ fI\\ fBtriple emphasis\\ fP\\ fP\n " ,
@@ -169,7 +169,7 @@ func TestCodeSpan(t *testing.T) {
169
169
".nh\n \n .PP\n a `single marker\n " ,
170
170
171
171
"a single multi-tick marker with ``` no text\n " ,
172
- ".nh\n \n .PP\n a single multi\\ -tick marker with ``` no text\n " ,
172
+ ".nh\n \n .PP\n a single multi-tick marker with ``` no text\n " ,
173
173
174
174
"markers with ` ` a space\n " ,
175
175
".nh\n \n .PP\n markers with a space\n " ,
@@ -178,7 +178,7 @@ func TestCodeSpan(t *testing.T) {
178
178
".nh\n \n .PP\n \\ fB\\ fCsource code\\ fR and a `stray\n " ,
179
179
180
180
"`source *with* _awkward characters_ in it`\n " ,
181
- ".nh\n \n .PP\n \\ fB\\ fCsource *with* \\ _awkward characters \\ _ in it\\ fR\n " ,
181
+ ".nh\n \n .PP\n \\ fB\\ fCsource *with* _awkward characters_ in it\\ fR\n " ,
182
182
183
183
"`split over\n two lines`\n " ,
184
184
".nh\n \n .PP\n \\ fB\\ fCsplit over\n two lines\\ fR\n " ,
@@ -343,7 +343,7 @@ func TestLinks(t *testing.T) {
343
343
func TestEscapeCharacters (t * testing.T ) {
344
344
var tests = []string {
345
345
"Test-one_two&three\\ four~five" ,
346
- ".nh\n \n .PP\n Test\\ -one \\ _two \\ &three\\ \\ four~five\n " ,
346
+ ".nh\n \n .PP\n Test-one_two &three\\ \\ four~five\n " ,
347
347
}
348
348
doTestsInline (t , tests )
349
349
}
0 commit comments