mirror of
https://github.com/codeninjasllc/discourse.git
synced 2024-11-23 23:58:31 -05:00
temporarily fix the build (cc @tgxworld)
This commit is contained in:
parent
32ef138dd7
commit
7d5fdd0997
1 changed files with 2 additions and 1 deletions
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in a new issue