Fixed URL cleaning problem and image links issues.

Signed-off-by: Carlos Escribano Rey <carlos@markhaus.com>