diff --git a/src/tex2lyx/test/test-insets.lyx.lyx b/src/tex2lyx/test/test-insets.lyx.lyx index 755e592e1b..a854dacbac 100644 --- a/src/tex2lyx/test/test-insets.lyx.lyx +++ b/src/tex2lyx/test/test-insets.lyx.lyx @@ -955,6 +955,19 @@ target "ftp://www.test.test" \end_inset +\end_layout + +\begin_layout Standard + +parser test (stupid, but valid): +\begin_inset CommandInset href +LatexCommand href +name "}" +target "http://www.test.test" + +\end_inset + + \end_layout \begin_layout Section diff --git a/src/tex2lyx/test/test-insets.tex b/src/tex2lyx/test/test-insets.tex index 222e41c4d2..16354ba807 100644 --- a/src/tex2lyx/test/test-insets.tex +++ b/src/tex2lyx/test/test-insets.tex @@ -158,6 +158,8 @@ ftp:\href{ftp://www.test.test}{ftp://www.test.test} ftp2:\href{ftp://www.test.test}{www.test.test} +parser test (stupid, but valid):\href{http://www.test.test}{\}} + \section{Lists\index{Lists}}