From 5acce829dc6ded492cca5ec87cd8bdbdb81667a5 Mon Sep 17 00:00:00 2001 From: "David A. Madore" Date: Wed, 7 Sep 2011 12:37:42 +0200 Subject: Try to produce HTML5/XHTML5 (polyglot) output. --- org/madore/damlengine/TodoStyleOrScript.java | 2 -- 1 file changed, 2 deletions(-) (limited to 'org/madore/damlengine/TodoStyleOrScript.java') 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)); -- cgit v1.2.3