From 961bdfc66151b9aef46149e4730110ef409e5587 Mon Sep 17 00:00:00 2001 From: "David A. Madore" Date: Fri, 26 Aug 2011 16:53:03 +0200 Subject: Move most of the context to a "general context" substructure. This is so as to make sure that cloning (which does a shallow copy) gives us references to the same mutable content. --- org/madore/damlengine/TodoEmailAtOrDotElement.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'org/madore/damlengine/TodoEmailAtOrDotElement.java') diff --git a/org/madore/damlengine/TodoEmailAtOrDotElement.java b/org/madore/damlengine/TodoEmailAtOrDotElement.java index 8e3eed3..6597291 100644 --- a/org/madore/damlengine/TodoEmailAtOrDotElement.java +++ b/org/madore/damlengine/TodoEmailAtOrDotElement.java @@ -64,7 +64,7 @@ public final class TodoEmailAtOrDotElement extends TodoDefaultElement { span0.appendChild(span1); Element img = ctx.doc.createElementNS(DamlEngine.XHTML_NS, "img"); img.setAttributeNS(null, "src", - (ctx.uriToTop==null?"":ctx.uriToTop)+"images/"+t.imgName); + (ctx.gc.uriToTop==null?"":ctx.gc.uriToTop)+"images/"+t.imgName); img.setAttributeNS(null, "alt", "["+(lang.equals("fr")?t.frName:t.enName)+"]"); img.setAttributeNS(null, "height", "15"); img.setAttributeNS(null, "width", "16"); -- cgit v1.2.3