* Paragraph.cpp: embrace ']' (fix bug 5610)

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@27838 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
Jürgen Spitzmüller 2008-12-10 19:52:13 +00:00
parent 7ad91d8646
commit 04d1a65234

View File

@ -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);