mirror of
https://github.com/discourse/discourse.git
synced 2025-05-25 00:32:52 +08:00
don't use Markdown
This commit is contained in:
@ -36,7 +36,7 @@ class StaticController < ApplicationController
|
|||||||
end
|
end
|
||||||
|
|
||||||
if I18n.exists?("static.#{@page}")
|
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
|
return
|
||||||
end
|
end
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user