Author: mcbrown
Date: 2007-08-05 09:24:23 +0200 (Sun, 05 Aug 2007)
New Revision: 7336
Log:
Adding image remapping support for a DocBook XML source to resolve an issue with CHM
builds
Modified:
trunk/tools/remap-img-paths.pl
Modified: trunk/tools/remap-img-paths.pl
===================================================================
--- trunk/tools/remap-img-paths.pl 2007-08-04 20:35:44 UTC (rev 7335)
+++ trunk/tools/remap-img-paths.pl 2007-08-05 07:24:23 UTC (rev 7336)
Changed blocks: 1, Lines Added: 2, Lines Deleted: 1; 579 bytes
@@ -54,7 +54,8 @@
close (IN);
foreach (@lines)
{
- s|(<img [^>]*src=")[^"]*(/[^/"]+)"|$1$image_path$2"|g;
+ s|(<img [^>]*src=")[^"]*(/[^/"]+)"|$1$image_path$2"|g;
+ s|(<imagedata [^>]*fileref=")[^"]*(/[^/"]+)"|$1$image_path$2"|g;
}
open (OUT, ">$file_name") or die "Cannot write $file_name: $!\n";
print OUT @lines;
| Thread |
|---|
| • svn commit - mysqldoc@docsrva: r7336 - trunk/tools | mcbrown | 5 Aug |