commit 7b9583a66d46774b8d78317d9db55672aa7554a3
parent 61c67247a7f3879d223d49fa365ea9ad3289a0ee
Author: Frederic Cambus <fred@statdns.com>
Date: Wed, 18 Apr 2018 23:49:04 +0200
Disable smart quotes and apostrophes
Diffstat:
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/bin/motyl b/bin/motyl
@@ -6,7 +6,7 @@
# https://github.com/fcambus/motyl #
# #
# Created: 2016-02-16 #
-# Last Updated: 2018-03-18 #
+# Last Updated: 2018-04-18 #
# #
# Motyl is released under the BSD 2-Clause license. #
# See LICENSE file for details. #
@@ -20,7 +20,7 @@ require 'yaml'
# Load and process Markdown file
def markdown(path)
- Kramdown::Document.new(File.read(path), syntax_highlighter: 'rouge').to_html
+ Kramdown::Document.new(File.read(path), smart_quotes: ["apos", "apos", "quot", "quot"], syntax_highlighter: 'rouge').to_html
end
# Display status message