diff options
author | Bjørn Erik Pedersen <[email protected]> | 2017-07-29 10:10:40 +0200 |
---|---|---|
committer | Bjørn Erik Pedersen <[email protected]> | 2017-07-29 10:10:40 +0200 |
commit | cb9dfc2613ae5125cafa450097fb0f62dd3770e7 (patch) | |
tree | b58bac10db0842ef648689dea26c52ae45cb0e09 /helpers/content_test.go | |
parent | c4a0b6e8abdf9f800fbd7a7f89e9f736edc60431 (diff) | |
download | hugo-cb9dfc2613ae5125cafa450097fb0f62dd3770e7.tar.gz hugo-cb9dfc2613ae5125cafa450097fb0f62dd3770e7.zip |
helpers: Add support for French Guillemets
Fixes #3725
Diffstat (limited to 'helpers/content_test.go')
-rw-r--r-- | helpers/content_test.go | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/helpers/content_test.go b/helpers/content_test.go index 95261efdf..e1fe5cebd 100644 --- a/helpers/content_test.go +++ b/helpers/content_test.go @@ -171,6 +171,7 @@ func TestGetHTMLRendererAllFlags(t *testing.T) { {blackfriday.HTML_USE_XHTML}, {blackfriday.HTML_FOOTNOTE_RETURN_LINKS}, {blackfriday.HTML_USE_SMARTYPANTS}, + {blackfriday.HTML_SMARTYPANTS_QUOTES_NBSP}, {blackfriday.HTML_SMARTYPANTS_ANGLED_QUOTES}, {blackfriday.HTML_SMARTYPANTS_FRACTIONS}, {blackfriday.HTML_HREF_TARGET_BLANK}, @@ -186,6 +187,7 @@ func TestGetHTMLRendererAllFlags(t *testing.T) { ctx.Config.PlainIDAnchors = true ctx.Config.SmartDashes = true ctx.Config.Smartypants = true + ctx.Config.SmartypantsQuotesNBSP = true ctx.Config.SourceRelativeLinksEval = true renderer := c.getHTMLRenderer(defaultFlags, ctx) actualFlags := renderer.GetFlags() |