fixImageSourceUrls
public static void fixImageSourceUrls(java.util.Map<java.lang.String,java.lang.Object> fileContents,
org.apache.commons.configuration.CompositeConfiguration config)
Image paths are specified as w.r.t. assets folder. This function prefix site host to all img src except
the ones that starts with http://, https://.
If image path starts with "./", i.e. relative to the source file, then it first replace that with output file directory and the add site host.
- Parameters:
fileContents - Map representing file contents
config - Configuration object