From 04d1a6523424ea4d6020bfa349310624cc21bc52 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=BCrgen=20Spitzm=C3=BCller?= Date: Wed, 10 Dec 2008 19:52:13 +0000 Subject: [PATCH] * Paragraph.cpp: embrace ']' (fix bug 5610) git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@27838 a592a061-630c-0410-9148-cb99ea01b6c8 --- src/Paragraph.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/Paragraph.cpp b/src/Paragraph.cpp index 3201105b17..fd61456ce5 100644 --- a/src/Paragraph.cpp +++ b/src/Paragraph.cpp @@ -921,7 +921,9 @@ void Paragraph::Private::latexSpecialChar( column += 17; break; - case '*': case '[': + case '*': + case '[': + case ']': // avoid being mistaken for optional arguments os << '{'; os.put(c);