Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1c02933 commit 36b86fdCopy full SHA for 36b86fd
websites/code/studygolang/src/util/tool.go
@@ -50,6 +50,6 @@ func EmbedWide(content string) string {
50
return content
51
}
52
53
- reg := regexp.MustCompile(`<iframe .* src=.*(https://wide\.b3log\.org/playground.*\.go).*/iframe>`)
+ reg := regexp.MustCompile(`<iframe.*src=.*(https://wide\.b3log\.org/playground.*\.go).*/iframe>`)
54
return reg.ReplaceAllString(content, `<iframe src="$1?embed=true" width="100%" height="600"></iframe>`)
55
0 commit comments