From f77a5f5c1a476fee551f19107f4844747d8d1c45 Mon Sep 17 00:00:00 2001 From: Kovid Goyal Date: Tue, 22 Jun 2021 08:17:38 +0530 Subject: [PATCH] Fix #1933032 [[Viewer] Using comma in reference doesn't work](https://bugs.launchpad.net/calibre/+bug/1933032) --- src/pyj/read_book/goto.pyj | 1 + 1 file changed, 1 insertion(+) diff --git a/src/pyj/read_book/goto.pyj b/src/pyj/read_book/goto.pyj index 9bec35e01f..3208dfaed9 100644 --- a/src/pyj/read_book/goto.pyj +++ b/src/pyj/read_book/goto.pyj @@ -99,6 +99,7 @@ def create_location_overlay(current_position_data, book, overlay, container): 'No location {} found').format(cfi)) def goto_ref(ref): + ref = ref.replace(/,/g, '.') if ui_operations.goto_reference(ref): overlay.hide() else: