diff options
Diffstat (limited to 'bin/mkdocs-prep.pl')
-rwxr-xr-x | bin/mkdocs-prep.pl | 2 |
1 files changed, 1 insertions, 1 deletions
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; |