From cd726ba1120253b6387e1a558f36ba78f3cd8cbd Mon Sep 17 00:00:00 2001 From: Mischa POSLAWSKY Date: Thu, 18 May 2017 01:37:29 +0200 Subject: [PATCH] source: recognise [sample] text include references --- source.plp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source.plp b/source.plp index ea85628..ef730a4 100644 --- a/source.plp +++ b/source.plp @@ -1,7 +1,7 @@ <(common.inc.plp)><: my $source = $Request; -my $incname = qr{ [a-z][/a-z0-9_.-]* \.(?:plp?|css|js) }x; +my $incname = qr{ [a-z][/a-z0-9_.-]* \.(?:plp?|css|js|txt) }x; if ($source =~ s{(?<=\Q.inc.pl\E)/jsonp?$}{} and -r $source) { # convert perl include to json construct -- 2.30.0