commit 70eea974c877de556c924a02546671f9ec810dda
parent 7200f5cd487ff6d2ed1a07bf2553e2a88b7525ab
Author: Frederic Cambus <fred@statdns.com>
Date: Thu, 18 Oct 2018 21:31:14 +0200
Linting
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/bin/motyl b/bin/motyl
@@ -24,7 +24,7 @@ Encoding.default_external = Encoding::UTF_8
# Load and process Markdown file
def markdown(path)
- Kramdown::Document.new(File.read(path), smart_quotes: ['apos', 'apos', 'quot', 'quot'], syntax_highlighter: 'rouge').to_html
+ Kramdown::Document.new(File.read(path), smart_quotes: %w[apos apos quot quot], syntax_highlighter: 'rouge').to_html
end
# Display status message