mirror of
https://github.com/discourse/discourse.git
synced 2025-05-24 22:41:10 +08:00
don't use Markdown
This commit is contained in:
@ -36,7 +36,7 @@ class StaticController < ApplicationController
|
||||
end
|
||||
|
||||
if I18n.exists?("static.#{@page}")
|
||||
render text: PrettyText.cook(I18n.t("static.#{@page}")), layout: !request.xhr?, formats: [:html]
|
||||
render text: I18n.t("static.#{@page}"), layout: !request.xhr?, formats: [:html]
|
||||
return
|
||||
end
|
||||
|
||||
|
Reference in New Issue
Block a user