A platform for community discussion. Free, open, simple.
Re-add option that was removed by mistake in https://github.com/discourse/discourse/commit/482013a1d4060e69cf78773892f13ef2d8220742.
Guo Xiang Tan3188d3506de9
diff --git a/lib/cooked_post_processor.rb b/lib/cooked_post_processor.rbindex df346bb5b73..5b8391ffe4f 100644--- a/lib/cooked_post_processor.rb+++ b/lib/cooked_post_processor.rb@@ -18,6 +18,7 @@ class CookedPostProcessor# NOTE: we re-cook the post here in order to prevent timing issues with edits# cf. https://meta.discourse.org/t/edit-of-rebaked-post-doesnt-show-in-html-only-in-raw/33815/6@cooking_options = post.cooking_options || opts[:cooking_options] || {}+ @cooking_options[:topic_id] = post.topic_id@cooking_options = @cooking_options.symbolize_keysanalyzer = post.post_analyzer