Skip to content
This repository has been archived by the owner on Jun 18, 2019. It is now read-only.

mathjax rendered outside post bodies #149

Open
bui opened this issue Oct 10, 2015 · 1 comment
Open

mathjax rendered outside post bodies #149

bui opened this issue Oct 10, 2015 · 1 comment
Labels

Comments

@bui
Copy link
Contributor

bui commented Oct 10, 2015

eg. https://fgts.jp/_/search/username/%5B%24%24%24%20%2FHIS%2F%20ALLIANCE%20%24%24%24%5D/

unsure if this poses any sort of security risk, but shouldn't be happening either way

@Yarn Yarn added the Bug label Oct 13, 2015
@Yarn
Copy link
Member

Yarn commented Oct 13, 2015

in /assets/config/mathjax.js

changing the current config to skipTags: ["body"] and processClass:[ "text"] for each processor may work, that class name may be used outside of post text though

we also aren't using http://docs.mathjax.org/en/latest/safe-mode.html afaik so that should be added to the config too

i'm not even sure what the actual endpoint is for the config file though so who knows if any of that is right

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

2 participants