Skip to content

Commit

Permalink
fix command middleman article: it generates incorrect YAML when the t…
Browse files Browse the repository at this point in the history
…itle contains characters that should be escaped
  • Loading branch information
markets committed May 5, 2024
1 parent 5f8ed9e commit ef318f2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/middleman-blog/commands/article.tt
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---

title: <%= @title %>
title: "<%= %Q[#{@title}] %>"
date: <%= @date.strftime('%F %R %z') %>
tags: <%= @tags.join(",") %>

Expand Down

0 comments on commit ef318f2

Please sign in to comment.