Changeset 7949
- Timestamp:
- 2004-08-16T14:02:12+12:00 (20 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/gsdl/perllib/plugins/HTMLPlug.pm
r7640 r7949 346 346 347 347 $link =~ s/\n/ /g; 348 349 # Hack to overcome Windows wv 0.7.1 bug that causes embedded images to be broken 350 # If the Word file path has spaces in it, wv messes up and you end up with 351 # absolute paths for the images, and without the "file://" prefix 352 # So check for this special case and massage the data to be correct 353 if ($ENV{'GSDLOS'} =~ /^windows/i && $self->{'plugin_type'} eq "WordPlug" && $link =~ /^[A-Za-z]\:/) { 354 $link = "file://" . $link; 355 $base_dir = ""; 356 } 357 348 358 my ($href, $hash_part, $rl) = $self->format_link ($link, $base_dir, $file); 349 359
Note:
See TracChangeset
for help on using the changeset viewer.