Add test case for bug #5312

This commit is contained in:
Jean-Marc Lasgouttes 2013-02-19 12:36:06 +01:00
parent 3d2dcab03f
commit efe06103f3
2 changed files with 18 additions and 2 deletions

View File

@ -1,5 +1,5 @@
#LyX file created by tex2lyx 2.1.0dev #LyX file created by tex2lyx 2.1.0dev
\lyxformat 462 \lyxformat 463
\begin_document \begin_document
\begin_header \begin_header
\textclass article \textclass article
@ -13,7 +13,7 @@
\maintain_unincluded_children false \maintain_unincluded_children false
\language english \language english
\language_package none \language_package none
\inputencoding latin9 \inputencoding iso8859-15
\fontencoding T1 \fontencoding T1
\font_roman default \font_roman default
\font_sans default \font_sans default
@ -871,6 +871,20 @@ description "uniform resource locator"
\end_inset \end_inset
\end_layout
\begin_layout Standard
An URL with strange characters:
\begin_inset Flex Flex:URL
status collapsed
\begin_layout Plain Layout
http://www.lyx.org/percent%dollar$
\end_layout
\end_inset
\end_layout \end_layout
\begin_layout Standard \begin_layout Standard

View File

@ -174,6 +174,8 @@ between~\verbatiminput{foo} or~\verbatiminput*{foo}.
An URL: \url{http://www.lyx.org} \nomenclature{URL2}{uniform resource locator} An URL: \url{http://www.lyx.org} \nomenclature{URL2}{uniform resource locator}
An URL with strange characters: \url{http://www.lyx.org/percent%dollar$}
link:\href{http://www.test.test}{www.test.test} link:\href{http://www.test.test}{www.test.test}
link2:\href{http://www.test.test}{http://www.test.test} link2:\href{http://www.test.test}{http://www.test.test}