- && text->GetFont(text->cursor.par,
- text->cursor.pos).latex() == LyXFont::OFF)
- InsertCorrectQuote();
+ && text->GetFont(current_view->buffer(),text->cursor.par(),
+ text->cursor.pos()).latex() == LyXFont::OFF
+ && text->GetFont(current_view->buffer(),text->cursor.par(),
+ text->cursor.pos()).language()->lang() != "hebrew")
+ current_view->insertCorrectQuote();