From 80e1cf40542dab4b5eacf6062a546b0e29f72df9 Mon Sep 17 00:00:00 2001 From: Dmitri Naumov Date: Mon, 25 Mar 2024 15:53:44 +0100 Subject: [PATCH] Automatic update of vale configuration for hugo --- Documentation/.vale/.vale-config/0-Hugo.ini | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/Documentation/.vale/.vale-config/0-Hugo.ini b/Documentation/.vale/.vale-config/0-Hugo.ini index b0d6257decb..4347ca9e902 100644 --- a/Documentation/.vale/.vale-config/0-Hugo.ini +++ b/Documentation/.vale/.vale-config/0-Hugo.ini @@ -2,9 +2,9 @@ # Exclude `{{< ... >}}`, `{{% ... %}}`, [Who]({{< ... >}}) TokenIgnores = ({{[%<] .* [%>]}}.*?{{[%<] ?/.* [%>]}}), \ (\[.+\]\({{< .+ >}}\)), \ -({{[%<] .+ [%>]}}) +[^\S\r\n]({{[%<] \w+ .+ [%>]}})\s, \ +[^\S\r\n]({{[%<](?:/\*) .* (?:\*/)[%>]}})\s # Exclude `{{< myshortcode `This is some HTML, ... >}}` -BlockIgnores = (?sm)^({{[%<] [^{]*? [%>]}})\n$, \ -(?s) *({{< highlight [^>]* ?>}}.*?{{< ?/ ?highlight >}}), \ -({{[%<] .+ [%>]}}) +BlockIgnores = (?sm)^({{[%<] \w+ [^{]*?\s[%>]}})\n$, \ +(?s) *({{< highlight [^>]* ?>}}.*?{{< ?/ ?highlight >}})