diff --git a/autotests/folding/highlight.tex.fold b/autotests/folding/highlight.tex.fold --- a/autotests/folding/highlight.tex.fold +++ b/autotests/folding/highlight.tex.fold @@ -269,3 +269,7 @@ text\begin{tabular}text\end{tabular} text\begin{a}text\end{a} + +% Close brackets correctly in some commands (see bug #415384) +\input{\a{}} +\cites{ text { text } text } diff --git a/autotests/html/highlight.tex.html b/autotests/html/highlight.tex.html --- a/autotests/html/highlight.tex.html +++ b/autotests/html/highlight.tex.html @@ -275,4 +275,8 @@ text\begin{tabular}text\end{tabular} text\begin{a}text\end{a} + +% Close brackets correctly in some commands (see bug #415384) +\input{\a{}} +\cites{ text { text } text } diff --git a/autotests/input/highlight.tex b/autotests/input/highlight.tex --- a/autotests/input/highlight.tex +++ b/autotests/input/highlight.tex @@ -269,3 +269,7 @@ text\begin{tabular}text\end{tabular} text\begin{a}text\end{a} + +% Close brackets correctly in some commands (see bug #415384) +\input{\a{}} +\cites{ text { text } text } diff --git a/autotests/reference/highlight.tex.ref b/autotests/reference/highlight.tex.ref --- a/autotests/reference/highlight.tex.ref +++ b/autotests/reference/highlight.tex.ref @@ -269,3 +269,7 @@
text\begin{tabular}text\end{tabular}
text\begin{a}text\end{a}
+
+% Close brackets correctly in some commands (see bug #415384)
+\input{\a{}}
+\cites{ text { text } text }
diff --git a/data/syntax/latex.xml b/data/syntax/latex.xml --- a/data/syntax/latex.xml +++ b/data/syntax/latex.xml @@ -5,7 +5,7 @@ ]> - +