~gitpocket/gitpocket

gitpocket/static/math.js -rw-r--r--299 bytes ViewLogBlameView rawPermalink 9055e1efa3 fix(security): escape readme link bases, validate branches and emails, strip header controls, add csp and throttling an hour ago
1
2
3
4
5
6
7
8
9
document.addEventListener("DOMContentLoaded", function () {
  renderMathInElement(document.body, {
    delimiters: [{ left: "\\(", right: "\\)", display: false }, { left: "\\[", right: "\\]", display: true }],
    throwOnError: false,
    trust: false,
    maxExpand: 500,
    maxSize: 20
  });
});