mirror of
https://github.com/discourse/discourse.git
synced 2024-11-23 09:17:08 +08:00
FIX: Include html
helpers in the server rendering. This allows plugins
to easily register HTML fragments without breaking posting.
This commit is contained in:
parent
6d4d2db9f9
commit
91ff3451c3
|
@ -71,6 +71,7 @@ module PrettyText
|
|||
"app/assets/javascripts/defer/html-sanitizer-bundle.js",
|
||||
"app/assets/javascripts/discourse/dialects/dialect.js",
|
||||
"app/assets/javascripts/discourse/lib/utilities.js",
|
||||
"app/assets/javascripts/discourse/lib/html.js",
|
||||
"app/assets/javascripts/discourse/lib/markdown.js")
|
||||
|
||||
Dir["#{Rails.root}/app/assets/javascripts/discourse/dialects/**.js"].each do |dialect|
|
||||
|
|
Loading…
Reference in New Issue
Block a user