diff options
author | Joey Hess <joey@kitenet.net> | 2010-08-30 14:21:50 -0400 |
---|---|---|
committer | Joey Hess <joey@kitenet.net> | 2010-08-30 14:21:50 -0400 |
commit | 408067b893f8e7668050fd9d8ca0ab4165aa5263 (patch) | |
tree | ff9bb2568fc2cf4d2d89aa86d5647f1b3a3b1911 /doc | |
parent | 99a123fa1680e5f3691f4e4a463ff9bc2196718e (diff) | |
download | ikiwiki-408067b893f8e7668050fd9d8ca0ab4165aa5263.tar ikiwiki-408067b893f8e7668050fd9d8ca0ab4165aa5263.tar.gz |
response
Diffstat (limited to 'doc')
-rw-r--r-- | doc/todo/Add_nicer_math_formatting.mdwn | 21 |
1 files changed, 20 insertions, 1 deletions
diff --git a/doc/todo/Add_nicer_math_formatting.mdwn b/doc/todo/Add_nicer_math_formatting.mdwn index 041eaee11..6e082c102 100644 --- a/doc/todo/Add_nicer_math_formatting.mdwn +++ b/doc/todo/Add_nicer_math_formatting.mdwn @@ -1,5 +1,24 @@ -It would be nice to add nicer math formatting. I currently use the [[plugins/teximg]] plugin, but I wonder if [jsMath](http://www.math.union.edu/~dpvc/jsMath/) wouldn't be a better option. +It would be nice to add nicer math formatting. I currently use the +[[plugins/teximg]] plugin, but I wonder if +[jsMath](http://www.math.union.edu/~dpvc/jsMath/) wouldn't be a better option. [[Will]] +> I've looked at jsmath (which is nicely packaged in Debian), and +> I agree that this is nicer than TeX images. That text-mode browsers +> get to see LaTeX as a fallback is actually a nice feature (better +> than nothing, right? :) That browsers w/o javascript will not be able to +> see the math either is probably ok. +> +> A plugin would probably be a pretty trivial thing to write. +> It just needs to include the javascript files, +> and slap a `<div class="math"> avound the user's code`, then +> call `jsMath.Process(document);` at the end of the page. +> +> My only concern is security: Has jsMath's parser been written +> to be safe when processing untrusted input? Could a user abuse the +> parser to cause it to emit/run arbitrary javascript code? +> I've posted a question about this to its forum: --[[Joey]] +> <https://sourceforge.net/projects/jsmath/forums/forum/592273/topic/3831574> + [[!tag wishlist]] |