Allow HTML in reverse markdown

This commit is contained in:
2023-03-20 20:56:42 +11:00
parent a814007077
commit 7471bab612

View File

@@ -10,7 +10,7 @@ module Adamantium
slug = URI(url).path.split("/").last slug = URI(url).path.split("/").last
post = post_repo.fetch!(slug) post = post_repo.fetch!(slug)
markdown_content = ReverseMarkdown.convert(post.content, unknown_tags: :raise, github_flavored: true).to_s markdown_content = ReverseMarkdown.convert(post.content, unknown_tags: :pass_through, github_flavored: true).to_s
if properties.nil? || properties.empty? if properties.nil? || properties.empty?
return { return {