lib/softcover/mathjax.rb in softcover-1.4.0 vs lib/softcover/mathjax.rb in softcover-1.4.1

- old
+ new

@@ -54,10 +54,10 @@ # which this method corrects for. def self.escaped_config(options={}) self.config(options).gsub('\\', '\\\\\\\\') end - MATHJAX = 'https://cdn.mathjax.org/mathjax/latest/MathJax.js?config=' + MATHJAX = 'https://cdnjs.cloudflare.com/ajax/libs/mathjax/2.7.0/MathJax.js?config=' AMS_HTML = MATHJAX + 'TeX-AMS_HTML' AMS_SVG = MATHJAX + 'TeX-AMS-MML_SVG' # Returns the custom macros as defined in the custom style file. def self.custom_macros