mirror of
https://invent.kde.org/graphics/okular
synced 2024-08-27 03:30:20 +00:00
renewcomment -> renewcommand
As reported by Jiri Slaby BUGS: 337767 FIXED-IN: 4.14.0
This commit is contained in:
parent
60bcd3975d
commit
99f15dce01
|
@ -191,7 +191,7 @@ LatexRenderer::Error LatexRenderer::handleLatex( QString& fileName, const QStrin
|
|||
|
||||
bool LatexRenderer::securityCheck( const QString &latexFormula )
|
||||
{
|
||||
return !latexFormula.contains(QRegExp("\\\\(def|let|futurelet|newcommand|renewcomment|else|fi|write|input|include"
|
||||
return !latexFormula.contains(QRegExp("\\\\(def|let|futurelet|newcommand|renewcommand|else|fi|write|input|include"
|
||||
"|chardef|catcode|makeatletter|noexpand|toksdef|every|errhelp|errorstopmode|scrollmode|nonstopmode|batchmode"
|
||||
"|read|csname|newhelp|relax|afterground|afterassignment|expandafter|noexpand|special|command|loop|repeat|toks"
|
||||
"|output|line|mathcode|name|item|section|mbox|DeclareRobustCommand)[^a-zA-Z]"));
|
||||
|
|
Loading…
Reference in a new issue