From 7d5fdd0997d30dc93c90b68a48724f015ee514c7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?R=C3=A9gis=20Hanol?= Date: Fri, 29 Jan 2016 11:53:03 +0100 Subject: [PATCH] temporarily fix the build (cc @tgxworld) --- lib/pretty_text.rb | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/lib/pretty_text.rb b/lib/pretty_text.rb index eb9f079d7..22abb1673 100644 --- a/lib/pretty_text.rb +++ b/lib/pretty_text.rb @@ -218,7 +218,8 @@ module PrettyText context.eval('opts["categoryHashtagLookup"] = function(c){return helpers.category_hashtag_lookup(c);}') context.eval('opts["lookupAvatar"] = function(p){return Discourse.Utilities.avatarImg({size: "tiny", avatarTemplate: helpers.avatar_template(p)});}') context.eval('opts["getTopicInfo"] = function(i){return helpers.get_topic_info(i)};') - DiscourseEvent.trigger(:markdown_context, context) + # TODO: @tgxworld this broke the build + # DiscourseEvent.trigger(:markdown_context, context) baked = context.eval('Discourse.Markdown.markdownConverter(opts).makeHtml(raw)') end