aboutsummaryrefslogtreecommitdiffstats
path: root/lib/LXRng/Web.pm
diff options
context:
space:
mode:
authorArne Georg Gleditsch <argggh@pelargir.(none)>2008-07-08 15:24:07 +0200
committerArne Georg Gleditsch <argggh@pelargir.(none)>2008-07-08 15:24:07 +0200
commit7ee74cd1dd28ee902582e71cf8d3ebddd06c0599 (patch)
treea749c72ca3b717b46ff98b8b4bc5b99cda9945cf /lib/LXRng/Web.pm
parenta25f8442450d7e9fb188a979ab0897cb86e9d84f (diff)
Better support for whitespace in filenames.
Diffstat (limited to 'lib/LXRng/Web.pm')
-rw-r--r--lib/LXRng/Web.pm5
1 files changed, 5 insertions, 0 deletions
diff --git a/lib/LXRng/Web.pm b/lib/LXRng/Web.pm
index c9acc71..df2422e 100644
--- a/lib/LXRng/Web.pm
+++ b/lib/LXRng/Web.pm
@@ -125,6 +125,11 @@ sub print_markedup_file {
mkpath($cfile, 0, 0777);
open($cache, '>', "$cfile/0");
}
+ else {
+ # Don't chunk file transfers unless cache is enabled.
+ $focus = 1;
+ }
+
my $handle = $node->handle();
LXRng::Lang->init($context);
my $lang = LXRng::Lang->new($node);