Fix mathjax on edit and create pages (#1773)

* Fix mathjax on edit and create pages
This commit is contained in:
fhchl
2021-12-22 17:00:31 +01:00
committed by GitHub
parent d97721f38b
commit 98a0006c86
5 changed files with 26 additions and 24 deletions
+2 -5
View File
@@ -3,6 +3,7 @@ module Precious
class Edit < Layout
include Editable
include HasPage
include HasMath
attr_reader :page, :content
@@ -18,10 +19,6 @@ module Precious
def page_name
@name
end
def mathjax
@mathjax
end
def header
if @header.nil?
@@ -67,7 +64,7 @@ module Precious
def etag
@etag
end
def allow_uploads
@allow_uploads
end