aboutsummaryrefslogtreecommitdiff
path: root/bin
diff options
context:
space:
mode:
authorJonas Smedegaard <dr@jones.dk>2021-06-04 16:15:33 +0200
committerJonas Smedegaard <dr@jones.dk>2021-06-04 16:15:33 +0200
commit4cab562b2af2e436f9093d14153969639acf7e73 (patch)
tree11c9a70c8af4b53424ecdaa0923a50932407b2b7 /bin
parent37cebd9636d909cee6369b9471a9ea8703fbe167 (diff)
fix relax inline hint parsing
Diffstat (limited to 'bin')
-rwxr-xr-xbin/mkdocs-prep.pl2
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;