Package assets (#1493)

* Package static assets
* Fixed cancel button in editor
* Fix rake compilation task
* Add asset path helper
* Serve MathJax statically
* Fix mathjax in preview
This commit is contained in:
Dawa Ometto
2020-03-24 15:55:28 +01:00
committed by GitHub
parent d5970d6274
commit a45101cfe9
695 changed files with 118 additions and 40 deletions
+5
View File
@@ -42,6 +42,11 @@ context "Frontend" do
def nfd utf8
TwitterCldr::Normalization.normalize(utf8, using: :nfd)
end
test 'mathjax assets are served' do
get '/gollum/assets/mathjax/MathJax.js'
assert last_response.ok?
end
test "UTF-8 headers href preserved" do
page = 'utfh1'