[]:()
[]:)
[]:(
[]:x
[]:testing
[:testing
[]:
linebreak
[]()
[]:
[]()
Last active
July 11, 2016 23:18
-
-
Save bkcsoft/dce1a2e16db28b46e1ce4c8df18caaba to your computer and use it in GitHub Desktop.
Bug in Blackfriday [Gogs Issue](https://github.com/gogits/gogs/issues/3171)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package main | |
import ( | |
"fmt" | |
"github.com/russross/blackfriday" | |
) | |
func main() { | |
input := []byte("```\n[]:()\n[]:)\n[]:(\n[]:x\n[]:testing\n[:testing\n\n[]:\nlinebreak\n[]()\n\n[]:\n[]()\n```") | |
md := blackfriday.MarkdownCommon(input) | |
fmt.Println(string(md)) | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment