mirror of
https://github.com/danog/blackfriday.git
synced 2024-11-30 04:29:13 +01:00
commit
2c0c546774
@ -10,7 +10,7 @@ punctuation substitutions, etc.), and it is safe for all utf-8
|
||||
HTML output is currently supported, along with Smartypants
|
||||
extensions. An experimental LaTeX output engine is also included.
|
||||
|
||||
It started as a translation from C of [upskirt][3].
|
||||
It started as a translation from C of [Sundown][3].
|
||||
|
||||
|
||||
Installation
|
||||
@ -97,7 +97,7 @@ dependencies and library versions.
|
||||
Features
|
||||
--------
|
||||
|
||||
All features of upskirt are supported, including:
|
||||
All features of Sundown are supported, including:
|
||||
|
||||
* **Compatibility**. The Markdown v1.0.3 test suite passes with
|
||||
the `--tidy` option. Without `--tidy`, the differences are
|
||||
@ -243,4 +243,4 @@ License
|
||||
|
||||
[1]: http://daringfireball.net/projects/markdown/ "Markdown"
|
||||
[2]: http://golang.org/ "Go Language"
|
||||
[3]: http://github.com/tanoku/upskirt "Upskirt"
|
||||
[3]: https://github.com/vmg/sundown "Sundown"
|
||||
|
@ -34,7 +34,7 @@ func doTestsReference(t *testing.T, files []string, flag int) {
|
||||
}()
|
||||
|
||||
for _, basename := range files {
|
||||
filename := filepath.Join("upskirtref", basename+".text")
|
||||
filename := filepath.Join("testdata", basename+".text")
|
||||
inputBytes, err := ioutil.ReadFile(filename)
|
||||
if err != nil {
|
||||
t.Errorf("Couldn't open '%s', error: %v\n", filename, err)
|
||||
@ -42,7 +42,7 @@ func doTestsReference(t *testing.T, files []string, flag int) {
|
||||
}
|
||||
input := string(inputBytes)
|
||||
|
||||
filename = filepath.Join("upskirtref", basename+".html")
|
||||
filename = filepath.Join("testdata", basename+".html")
|
||||
expectedBytes, err := ioutil.ReadFile(filename)
|
||||
if err != nil {
|
||||
t.Errorf("Couldn't open '%s', error: %v\n", filename, err)
|
Loading…
Reference in New Issue
Block a user