mirror of
https://github.com/discourse/discourse.git
synced 2025-02-25 18:55:32 -06:00
don't use Markdown
This commit is contained in:
parent
92b615b503
commit
8efee0d03d
@ -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
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user