commit ca0e7ed7118e22cad46eb17fd85584cb5fbd7250
parent 537e0cfe96dacd0d96ea61cd6e21729ad3dc3dca
Author: Russ Cox <rsc@golang.org>
Date: Fri, 15 May 2015 10:29:13 -0400
godash: fix build
Diffstat:
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/godash/main.go b/godash/main.go
@@ -146,8 +146,8 @@ func printHTML() {
fmt.Printf("</style>\n")
fmt.Printf("<pre>\n")
data = regexp.MustCompile(`(?m)^HOWTO`).ReplaceAllString(data, `<a target="_blank" href="index.html">about the dashboard</a>`)
- data = regexp.MustCompile(`(CL (\d+))\b`).ReplaceAllString(data, "<a target="_blank" href='https://golang.org/cl/$2'>$1</a>")
- data = regexp.MustCompile(`(#(\d\d\d+))\b`).ReplaceAllString(data, "<a target="_blank" href='https://golang.org/issue/$2'>$1</a>")
+ data = regexp.MustCompile(`(CL (\d+))\b`).ReplaceAllString(data, "<a target=\"_blank\" href='https://golang.org/cl/$2'>$1</a>")
+ data = regexp.MustCompile(`(#(\d\d\d+))\b`).ReplaceAllString(data, "<a target=\"_blank\" href='https://golang.org/issue/$2'>$1</a>")
data = regexp.MustCompile(`(?m)^([\?A-Za-z0-9][^\n]*)`).ReplaceAllString(data, "<b>$1</b>")
data = regexp.MustCompile(`(?m)^([^\n]*\[maybe[^\n]*)`).ReplaceAllString(data, "<span class='maybe'>$1</span>")
data = regexp.MustCompile(`(?m)^( +)(.*)( → )(.*)(, [\d/]+ days)(, waiting for reviewer)`).ReplaceAllString(data, "$1$2$3<b>$4</b>$5$6")