fix stex mode handling of line break with optional argument