Fix hash render end with colon (#31319)
Fix a hash render problem like `<hash>: xxxxx` which is usually used in release notes. (cherry picked from commit 7115dce773e3021b3538ae360c4e7344d5bbf45b)
This commit is contained in:
parent
1627d3a53f
commit
62ed5f2db5
2 changed files with 2 additions and 1 deletions
|
@ -381,6 +381,7 @@ func TestRegExp_sha1CurrentPattern(t *testing.T) {
|
|||
"(abcdefabcdefabcdefabcdefabcdefabcdefabcd)",
|
||||
"[abcdefabcdefabcdefabcdefabcdefabcdefabcd]",
|
||||
"abcdefabcdefabcdefabcdefabcdefabcdefabcd.",
|
||||
"abcdefabcdefabcdefabcdefabcdefabcdefabcd:",
|
||||
}
|
||||
falseTestCases := []string{
|
||||
"test",
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue