From: Mischa POSLAWSKY Date: Wed, 17 May 2017 23:37:29 +0000 (+0200) Subject: source: recognise [sample] text include references X-Git-Tag: v1.11~69 X-Git-Url: http://git.shiar.nl/sheet.git/commitdiff_plain/cd726ba1120253b6387e1a558f36ba78f3cd8cbd source: recognise [sample] text include references --- 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