From c5de0019b29b81bc6108946b7cac44d33f2841eb Mon Sep 17 00:00:00 2001 From: Georgy Litvinov Date: Sat, 18 Apr 2020 13:57:54 +0200 Subject: [PATCH] =?UTF-8?q?Remove=20space=20between=20=D1=82.=20=D0=BA.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Redaction/Clean.xba | 4 ++-- description.xml | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/Redaction/Clean.xba b/Redaction/Clean.xba index 865e39c..8669174 100644 --- a/Redaction/Clean.xba +++ b/Redaction/Clean.xba @@ -380,8 +380,8 @@ Private Sub fixFrequentMistakes AskAndReplace("(?<=[\(\[\{«„])[:space:]","") 'Между "и" и "т." должен быть неразрывный пробел, а не обычный AskAndReplace("(?<=\bи)\ (?=т\.)",NBSP) - 'Между "т." и "е./н./д./п./к." должен быть неразрывный пробел, а не обычный - AskAndReplace("(?<=\bт)\.\ ?(?=[ендпк]\.)","." & NBSP) + 'Между "т." и "е./н./д./п./к." не должно быть пробела + AskAndReplace("(?<=\bт)\.\ ?(?=[ендпк]\.)",".") 'Между буквами среднее тире должно обрамляться пробелами AskAndReplace("(?<=[:alpha:])–(?=[:alpha:])",NBSP & "–" & NBSP) diff --git a/description.xml b/description.xml index 6494fc5..0233e6a 100644 --- a/description.xml +++ b/description.xml @@ -3,7 +3,7 @@ xmlns:dep="http://openoffice.org/extensions/description/2006" xmlns:xlink="http://www.w3.org/1999/xlink"> - + Cleaning and validation documents for publishing in html and epub with pagination