Skip to content

Commit 1a84675

Browse files
rr-gkatsev
authored andcommitted
Fix [[ following "preview" button (#602)
1 parent 2592a3d commit 1a84675

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

common/content/buffer.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1793,7 +1793,7 @@ const Buffer = Module("buffer", {
17931793

17941794
options.add(["prevpattern", "previouspattern"], // \u00AB is « (<< in a single char)
17951795
"Patterns to use when guessing the 'previous' page in a document sequence",
1796-
"stringlist", "\\bprev|previous\\b,^<$,^(<<|\u00AB)$,^(<|\u00AB),(<|\u00AB)$");
1796+
"stringlist", "\\bprev\\b|\\bprevious\\b,^<$,^(<<|\u00AB)$,^(<|\u00AB),(<|\u00AB)$");
17971797

17981798
options.add(["pageinfo", "pa"],
17991799
"Desired info in the :pageinfo output",

common/locale/en-US/options.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -940,7 +940,7 @@
940940
<tags>'prevpattern' 'previouspattern'</tags>
941941
<spec>'prevpattern' 'previouspattern'</spec>
942942
<type>stringlist</type>
943-
<default><![CDATA[\bprev|previous\b,^<$,^(<<|«)$,^(<|«),(<|«)$]]></default>
943+
<default><![CDATA[\bprev\b|\bprevious\b,^<$,^(<<|«)$,^(<|«),(<|«)$]]></default>
944944
<description>
945945
<p>
946946
Patterns to use when guessing the <o>previous</o> page in a document

common/locale/ja/options.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -920,7 +920,7 @@
920920
<tags>'prevpattern' 'previouspattern'</tags>
921921
<spec>'prevpattern' 'previouspattern'</spec>
922922
<type>stringlist</type>
923-
<default><![CDATA[\bprev|previous\b,^<$,^(<<|«)$,^(<|«),(<|«)$]]></default>
923+
<default><![CDATA[\bprev\b|\bprevious\b,^<$,^(<<|«)$,^(<|«),(<|«)$]]></default>
924924
<description>
925925
<p>
926926
ページに分割されている文書において <o>前</o> のページを推測するために使われるパターンです。

0 commit comments

Comments
 (0)