summaryrefslogtreecommitdiff
path: root/jurt
diff options
context:
space:
mode:
authorMike Kaganski <mike.kaganski@collabora.com>2023-02-28 16:09:32 +0300
committerMike Kaganski <mike.kaganski@collabora.com>2023-02-28 19:12:34 +0000
commitb7a5ac03e03066d36e05da786669a9243ad0116f (patch)
tree408aa59e85a369dc46caa57dcb369cd704b9ab6e /jurt
parent261ea82f11b10a8d1ab8175f66e72077a7b3350d (diff)
tdf#114773: only add space between entry number and text
Modify the hack from commit ce95e39f8e952159844e9dc04a1df402bb103634 (tdf#44282 fix missing space for numbered lists in TOC, 2016-08-16), which added the space after entry numbers unconditionally. There are other possibilities, like custom separators between the entry number and text (e.g., [E#][T][E][T][#]); or the entry number (maybe with limited depth) used with page number (like in [E#][E][T][E#]-[#]). Generally, when entry number is not immediately followed by entry text, the space is not needed. Additionally, the space is not needed when the number text already ends with a space character. Change-Id: Ifa6c474574bfb74466ab721eca49f421a3750942 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/147997 Tested-by: Jenkins Reviewed-by: Mike Kaganski <mike.kaganski@collabora.com>
Diffstat (limited to 'jurt')
0 files changed, 0 insertions, 0 deletions