summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAdmin <admin@marx.cafe>2022-11-28 01:57:19 -0500
committerAdmin <admin@marx.cafe>2022-11-28 01:57:19 -0500
commitc4474b96ab7e105abc59fed644d7aed1117c0be9 (patch)
tree298719115bf097bb7315a24a1eba34b92e968d41
parent33a6f6db56055d58ee2d24262c4a9abdccdb9679 (diff)
Quote titles in html2md
-rwxr-xr-xhtml2md.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/html2md.rb b/html2md.rb
index 404fbde..4bbdb39 100755
--- a/html2md.rb
+++ b/html2md.rb
@@ -87,7 +87,7 @@ body.css('br').each { |br| br.replace("\n\n") }
body.css('span.context').each { |span| span.replace("<!-- #{span.attr('class')} --> *#{span.inner_html}*") }
puts '---'
-puts "title: #{title}"
+puts "title: \"#{title}\""
puts 'date: 2022-11-18'
puts 'draft: true'
puts '---'