]> git.lyx.org Git - features.git/commit
Make macro xhtml export more secure
authorGeorg Baum <baum@lyx.org>
Tue, 30 Dec 2014 12:30:40 +0000 (13:30 +0100)
committerGeorg Baum <baum@lyx.org>
Tue, 30 Dec 2014 12:30:40 +0000 (13:30 +0100)
commit33b059bd9d98e725500c48cccc855d89986223b3
treed8b5258e4088fb36232e479ff12c6d12d12f641d
parentb0361fb3c55a24143fcb1046a540161a07de7c44
Make macro xhtml export more secure

Actually I wanted to do that in cc87f8100 but forgot to adjust the original
solution completely. Now we do not search for an arbitrary latexkeys instance
which just happens to have the same name as the macro, but we only use the
symbol that was explicitly set for global macros.
src/mathed/MacroTable.cpp
src/mathed/MacroTable.h
src/mathed/MathMacro.cpp