summaryrefslogtreecommitdiffstats
path: root/helpers/content_test.go
diff options
context:
space:
mode:
authorAnthony Fok <foka@debian.org>2016-03-20 04:21:16 +0800
committerAnthony Fok <foka@debian.org>2016-03-20 04:21:16 +0800
commit2c5e4f7640e71d2a193a74e6c41109ec40bc0222 (patch)
tree558fc3278749709c4cc84cb03751e8fc4b70bbea /helpers/content_test.go
parent4c4ce552171a20116b128aa4c9b97fe4d3727b83 (diff)
helpers: Support EXTENSION_BACKSLASH_LINE_BREAK for Blackfriday
Exposed as "backslashLineBreak" and enabled by default as upstream have done. Fixes #1935
Diffstat (limited to 'helpers/content_test.go')
-rw-r--r--helpers/content_test.go6
1 files changed, 6 insertions, 0 deletions
diff --git a/helpers/content_test.go b/helpers/content_test.go
index daba018d8..d16f1d660 100644
--- a/helpers/content_test.go
+++ b/helpers/content_test.go
@@ -244,10 +244,16 @@ func TestGetMarkdownExtensionsByDefaultAllExtensionsAreEnabled(t *testing.T) {
{blackfriday.EXTENSION_FENCED_CODE},
{blackfriday.EXTENSION_AUTOLINK},
{blackfriday.EXTENSION_STRIKETHROUGH},
+ // {blackfriday.EXTENSION_LAX_HTML_BLOCKS},
{blackfriday.EXTENSION_SPACE_HEADERS},
+ // {blackfriday.EXTENSION_HARD_LINE_BREAK},
+ // {blackfriday.EXTENSION_TAB_SIZE_EIGHT},
{blackfriday.EXTENSION_FOOTNOTES},
+ // {blackfriday.EXTENSION_NO_EMPTY_LINE_BEFORE_BLOCK},
{blackfriday.EXTENSION_HEADER_IDS},
+ // {blackfriday.EXTENSION_TITLEBLOCK},
{blackfriday.EXTENSION_AUTO_HEADER_IDS},
+ {blackfriday.EXTENSION_BACKSLASH_LINE_BREAK},
{blackfriday.EXTENSION_DEFINITION_LISTS},
}