bug fix: broken indents fixed in markdown rendered statements

This commit is contained in:
Kei Kubo 2012-04-11 19:36:52 +00:00
parent 700eec6672
commit 42f04bf70c
5 changed files with 10 additions and 5 deletions

View file

@ -41,7 +41,8 @@
%h3= content.name
.readme
- if content.name =~ /\.(md|markdown)$/i
= markdown(content.data)
= preserve do
= markdown(content.data)
- else
= simple_format(content.data)