mirror of
https://github.com/discourse/discourse.git
synced 2025-05-22 22:43:33 +08:00
UX: Support for custom error pages and headers in plugins
This commit is contained in:
@ -143,7 +143,7 @@ class DiscoursePluginRegistry
|
||||
|
||||
def self.build_html(name, ctx = nil)
|
||||
builders = html_builders[name] || []
|
||||
builders.map { |b| b.call(ctx) }.join("\n")
|
||||
builders.map { |b| b.call(ctx) }.join("\n").html_safe
|
||||
end
|
||||
|
||||
def javascripts
|
||||
|
Reference in New Issue
Block a user