public class HtmlUtil
extends java.lang.Object
| Modifier and Type | Method and Description |
|---|---|
static void |
fixImageSourceUrls(java.util.Map<java.lang.String,java.lang.Object> fileContents,
JBakeConfiguration configuration)
Image paths are specified as w.r.t.
|
public static void fixImageSourceUrls(java.util.Map<java.lang.String,java.lang.Object> fileContents,
JBakeConfiguration configuration)
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.
fileContents - Map representing file contentsconfiguration - Configuration object