FIX: Server side rendering was broken with new `helperContext()`

FIX: Server side rendering was broken with new helperContext()

diff --git a/app/assets/javascripts/discourse/app/templates/discovery.hbs b/app/assets/javascripts/discourse/app/templates/discovery.hbs
index b8c7f4d..33c6190 100644
--- a/app/assets/javascripts/discourse/app/templates/discovery.hbs
+++ b/app/assets/javascripts/discourse/app/templates/discovery.hbs
@@ -36,4 +36,4 @@
   </div>
 
   {{plugin-outlet name="discovery-below"}}
-{{/if}}
\ No newline at end of file
+{{/if}}
diff --git a/lib/pretty_text/shims.js b/lib/pretty_text/shims.js
index 8e84568..4a01e94 100644
--- a/lib/pretty_text/shims.js
+++ b/lib/pretty_text/shims.js
@@ -16,6 +16,13 @@ define("I18n", ["exports"], function(exports) {
   exports.default = I18n;
 });
 
+// Formatting doesn't currently need any helper context
+define("discourse-common/lib/helpers", ["exports"], function(exports) {
+  exports.helperContext = function() {
+    return {};
+  };
+});
+
 __utils = require("discourse/lib/utilities");
 
 __emojiUnicodeReplacer = null;

GitHub sha: 2523a21f

This commit appears in #10480 which was merged by eviltrout.