Jürgen Spitzmüller wrote: > This problem occurs probably in many if not all optional arguments. LyX > could try to prevent this, so you could file a report on our tracker.
I noted that we already do this in the OptArg inset where we embrace content if we find a ] character. Should we just do the same in the subfloat argument? Jürgen