diff --git a/src/go/doc/comment/parse.go b/src/go/doc/comment/parse.go
index 4d5784a..eb67562 100644
--- a/src/go/doc/comment/parse.go
+++ b/src/go/doc/comment/parse.go
@@ -939,28 +939,7 @@
continue
}
}
- switch {
- case strings.HasPrefix(t, "``"):
- if len(t) >= 3 && t[2] == '`' {
- // Do not convert `` inside ```, in case people are mistakenly writing Markdown.
- i += 3
- for i < len(t) && t[i] == '`' {
- i++
- }
- break
- }
- writeUntil(i)
- w.WriteRune('“')
- i += 2
- wrote = i
- case strings.HasPrefix(t, "''"):
- writeUntil(i)
- w.WriteRune('”')
- i += 2
- wrote = i
- default:
- i++
- }
+ i++
}
flush(len(s))
return out
diff --git a/src/go/doc/comment/testdata/quote.txt b/src/go/doc/comment/testdata/quote.txt
index b64adae..cfe945a 100644
--- a/src/go/doc/comment/testdata/quote.txt
+++ b/src/go/doc/comment/testdata/quote.txt
@@ -1,15 +1,15 @@
-- input --
-Doubled single quotes like `` and '' turn into Unicode double quotes,
-but single quotes ` and ' do not.
+Doubled single quotes like `` and '' don't turn into Unicode double quotes,
+and neither do single quotes ` and '.
Misplaced markdown fences ``` do not either.
-- gofmt --
-Doubled single quotes like “ and ” turn into Unicode double quotes,
-but single quotes ` and ' do not.
+Doubled single quotes like `` and '' don't turn into Unicode double quotes,
+and neither do single quotes ` and '.
Misplaced markdown fences ``` do not either.
-- text --
-Doubled single quotes like “ and ” turn into Unicode double quotes, but single
-quotes ` and ' do not. Misplaced markdown fences ``` do not either.
+Doubled single quotes like `` and '' don't turn into Unicode double quotes, and
+neither do single quotes ` and '. Misplaced markdown fences ``` do not either.
-- html --
-<p>Doubled single quotes like “ and ” turn into Unicode double quotes,
-but single quotes ` and ' do not.
+<p>Doubled single quotes like `` and '' don't turn into Unicode double quotes,
+and neither do single quotes ` and '.
Misplaced markdown fences ``` do not either.
diff --git a/src/go/doc/synopsis_test.go b/src/go/doc/synopsis_test.go
index 158c734..949859c 100644
--- a/src/go/doc/synopsis_test.go
+++ b/src/go/doc/synopsis_test.go
@@ -35,7 +35,7 @@
{"All Rights reserved. Package foo does bar.", 20, ""},
{"All rights reserved. Package foo does bar.", 20, ""},
{"Authors: f...@bar.com. Package foo does bar.", 21, ""},
- {"typically invoked as ``go tool asm'',", 37, "typically invoked as “go tool asm”,"},
+ {"typically invoked as ``go tool asm'',", 37, "typically invoked as ``go tool asm'',"},
}
func TestSynopsis(t *testing.T) {