all text markdown with redcarpet

This commit is contained in:
2022-12-08 19:34:49 +02:00
parent 308b9e1d2e
commit c669cf5cfe
14 changed files with 32 additions and 13 deletions

View File

@ -147,7 +147,7 @@ module Merged
def self.build_data(template)
data = { "template" => template , "id" => SecureRandom.hex(10) }
style = Style.sections[ template ]
style = SectionStyle.sections[ template ]
style.fields.each do |key|
data[key] = key.upcase
end unless style.fields.blank?