Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--plugins/org.eclipse.jet/src/org/eclipse/jet/transform/TransformContextExtender.java4
1 files changed, 3 insertions, 1 deletions
diff --git a/plugins/org.eclipse.jet/src/org/eclipse/jet/transform/TransformContextExtender.java b/plugins/org.eclipse.jet/src/org/eclipse/jet/transform/TransformContextExtender.java
index 1fc7d41..bd7987a 100644
--- a/plugins/org.eclipse.jet/src/org/eclipse/jet/transform/TransformContextExtender.java
+++ b/plugins/org.eclipse.jet/src/org/eclipse/jet/transform/TransformContextExtender.java
@@ -92,7 +92,9 @@ public final class TransformContextExtender
{
this.context = context;
this.contextData = contextData;
- context.setTagFactory(new TagFactoryImpl(context));
+ if(context.getTagFactory() == null) {
+ context.setTagFactory(new TagFactoryImpl(context));
+ }
}
public String getId()

Back to the top