From 7471bab6124bfb863449c43cc12cea69555fe572 Mon Sep 17 00:00:00 2001 From: Daniel Nitsikopoulos Date: Mon, 20 Mar 2023 20:56:42 +1100 Subject: [PATCH] Allow HTML in reverse markdown --- app/queries/posts/microformat_post.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/queries/posts/microformat_post.rb b/app/queries/posts/microformat_post.rb index 5a8f4c9..361e15c 100644 --- a/app/queries/posts/microformat_post.rb +++ b/app/queries/posts/microformat_post.rb @@ -10,7 +10,7 @@ module Adamantium slug = URI(url).path.split("/").last 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? return {