Fix wrong SVG images export.

This commit is contained in:
Paulo Gustavo Veiga 2011-05-05 14:10:46 -03:00
parent 8c6ef376b7
commit 973f3b9365

View File

@ -215,7 +215,7 @@ public class ExporterFactory {
// Hack for backward compatibility . This can be removed in 2012. :)
String imgPath;
if (imgUrl.contains("images")) {
imgPath = imgBaseUrl + "../images/" + iconName;
imgPath = imgBaseUrl + "/../images/" + iconName;
} else {
imgPath = imgBaseUrl + imgUrl;
}