From 4cab562b2af2e436f9093d14153969639acf7e73 Mon Sep 17 00:00:00 2001 From: Jonas Smedegaard Date: Fri, 4 Jun 2021 16:15:33 +0200 Subject: fix relax inline hint parsing --- bin/mkdocs-prep.pl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bin/mkdocs-prep.pl b/bin/mkdocs-prep.pl index fdb4c30..e452e0b 100755 --- a/bin/mkdocs-prep.pl +++ b/bin/mkdocs-prep.pl @@ -60,7 +60,7 @@ my $content = path($infile)->slurp_utf8; $content =~ s/^#+\s*Special strings\s*\n((?:\n|[^#\n][^\n]*\n)*)//m; my $section = $1 || ''; my %defaults; -while ( $section =~ /^(\w+)\h*:\h*(\w+(?:\h+\w+)*)/mg ) { +while ( $section =~ /^(\w+)\h*:\h*(\w\S*(?:\h+\S+)*)/mg ) { my $token = $1; my $string = $2; -- cgit v1.2.3