From 72d576dd795f213b7290d38eccad8baf514867e3 Mon Sep 17 00:00:00 2001 From: Georgy Litvinov Date: Tue, 15 Dec 2020 13:14:28 +0100 Subject: [PATCH] Do not remove space before Left Single Quotation Mark --- Redaction/Clean.xba | 4 ++-- Redaction/Configuration.xba | 2 +- description.xml | 2 +- gradle.properties | 2 +- 4 files changed, 5 insertions(+), 5 deletions(-) diff --git a/Redaction/Clean.xba b/Redaction/Clean.xba index ea4a325..ea5a9b3 100644 --- a/Redaction/Clean.xba +++ b/Redaction/Clean.xba @@ -1,6 +1,6 @@ -Sub mark71 +Sub mark72 End Sub @@ -426,7 +426,7 @@ Private Sub fixFrequentMistakes 'Не должно быть пустых абзацев AskAndReplace("^$","") 'Не должно быть пробелов перед знаками пунктуации .,;:?!)]}»¡¿”‘’ - AskAndReplace("[:space:]+(?=[\.,;:?!\)\]\}»¡¿”‘’])","") + AskAndReplace("[:space:]+(?=[\.,;:?!\)\]\}»¡¿”’])","") 'Не должно быть пробелов после скобок [({ и кавычек «„ AskAndReplace("(?<=[\(\[\{«„])[:space:]","") 'Между буквами среднее тире должно обрамляться пробелами diff --git a/Redaction/Configuration.xba b/Redaction/Configuration.xba index 597566f..1dcc960 100644 --- a/Redaction/Configuration.xba +++ b/Redaction/Configuration.xba @@ -1,7 +1,7 @@ Public Const redactionExtensionName As String = "cleanAndValidate" -Public Const redactionExtensionVersion = "0.9.17" +Public Const redactionExtensionVersion = "0.9.19" Function initRedactionConfiguration() On Error Goto exceptionHandler Dim regFactory As Object diff --git a/description.xml b/description.xml index f2fc62c..1b190a4 100644 --- a/description.xml +++ b/description.xml @@ -1,7 +1,7 @@ - + Cleaning and validation documents for publishing in html and epub with pagination diff --git a/gradle.properties b/gradle.properties index 9f2c3a0..0428a05 100644 --- a/gradle.properties +++ b/gradle.properties @@ -1 +1 @@ -version=0.9.19 +version=0.9.20