From edfbb8555314b6076c83044860a4527c525dce97 Mon Sep 17 00:00:00 2001 From: f Date: Tue, 17 Sep 2019 19:04:57 -0300 Subject: [PATCH] renderizar las licencias como markdown --- app/services/site_service.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/services/site_service.rb b/app/services/site_service.rb index 8d2a090f..54e94c6a 100644 --- a/app/services/site_service.rb +++ b/app/services/site_service.rb @@ -60,7 +60,7 @@ SiteService = Struct.new(:site, :usuarie, :params, keyword_init: true) do title: site.licencia.name, author: %w[Sutty], permalink: "#{I18n.t('activerecord.models.licencia').downcase}/", - content: site.licencia.deed + content: CommonMarker.render_html(site.licencia.deed) } )