summaryrefslogtreecommitdiffstats
path: root/org/madore/damlengine/TodoStyleOrScript.java
diff options
context:
space:
mode:
authorDavid A. Madore <david+git@madore.org>2011-09-07 12:37:42 +0200
committerDavid A. Madore <david+git@madore.org>2011-09-07 13:11:10 +0200
commit5acce829dc6ded492cca5ec87cd8bdbdb81667a5 (patch)
tree3369fb604531114f1b1807de43f2fb67ffb0e8e8 /org/madore/damlengine/TodoStyleOrScript.java
parentbc2b0d5215873a68d336e4a942a9ae860b9b9bd4 (diff)
downloaddamlengine-5acce829dc6ded492cca5ec87cd8bdbdb81667a5.tar.gz
damlengine-5acce829dc6ded492cca5ec87cd8bdbdb81667a5.tar.bz2
damlengine-5acce829dc6ded492cca5ec87cd8bdbdb81667a5.zip
Try to produce HTML5/XHTML5 (polyglot) output.
Diffstat (limited to 'org/madore/damlengine/TodoStyleOrScript.java')
-rw-r--r--org/madore/damlengine/TodoStyleOrScript.java2
1 files changed, 0 insertions, 2 deletions
diff --git a/org/madore/damlengine/TodoStyleOrScript.java b/org/madore/damlengine/TodoStyleOrScript.java
index cc00e11..44741e4 100644
--- a/org/madore/damlengine/TodoStyleOrScript.java
+++ b/org/madore/damlengine/TodoStyleOrScript.java
@@ -36,8 +36,6 @@ public final class TodoStyleOrScript extends TodoItem {
Element node
= ctx.doc.createElementNS(DamlEngine.XHTML_NS, t.eltName);
node.setAttributeNS(null, "type", t.mimeType);
- if ( t==Type.SCRIPT )
- node.setAttributeNS(null, "defer", "defer");
ctx.gc.headNode.appendChild(node);
ctx.gc.headNode.appendChild(ctx.doc.createTextNode("\n"));
node.appendChild(ctx.doc.createTextNode("\n"+t.preCdata));