FIX: Include html helpers in the server rendering. This allows plugins

to easily register HTML fragments without breaking posting.
This commit is contained in:
Robin Ward 2014-02-26 10:08:45 -05:00
parent 6d4d2db9f9
commit 91ff3451c3

View File

@ -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|