Dietmar Winkler  committed 70d7291

Load MathJax via `https` protocoll

Depending on the deployment the Trac site that uses this plugin might
actually be serving via `https`. This means that loading MathJax via
`http` leads to a unsecure mixed content warning. Hence it is better to
load the `MathJax.js` always via `https`.

  • Participants
  • Parent commits 7f4e313
  • Branches default
  • Tags 0.3

Comments (0)

Files changed (1)

File tracmathjax/

     # ITemplateStreamFilter methods
     def filter_stream(self, req, method, filename, stream, data):
-        address = tag.script(type="text/javascript", src="")
+        address = tag.script(type="text/javascript", src="")
         stream |= Transformer('.//head').append(address)
         return stream