]> git.lyx.org Git - lyx.git/commitdiff
Add test for Parser::getFullArg()
authorGeorg Baum <baum@lyx.org>
Tue, 25 Sep 2012 20:25:55 +0000 (22:25 +0200)
committerGeorg Baum <baum@lyx.org>
Tue, 25 Sep 2012 20:25:55 +0000 (22:25 +0200)
It shows that the special handling of a single backslash in the argument
(whcih is supposed to fix bug #4468) does not work.

src/tex2lyx/test/test-insets.lyx.lyx
src/tex2lyx/test/test-insets.tex

index 755e592e1b1141e252f65dce6bfd51e8bdeb8ef0..a854dacbac4a05dbefcf174f93f6f9c6b30fe7f4 100644 (file)
@@ -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
index 222e41c4d2c83f33285b8f05d281a28c6c493d66..16354ba807e0231998822f90d62a9494a795e54e 100644 (file)
@@ -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}}