Commit 41a65078 authored by Stephen McKamey's avatar Stephen McKamey

Adding a missed file.

parent ef90ef3d
/*global window */ /*global window */
/** /**
* @license DUEL v0.9.6 http://duelengine.org * @license DUEL v0.9.7 http://duelengine.org
* Copyright (c)2006-2012 Stephen M. McKamey. * Copyright (c)2006-2012 Stephen M. McKamey.
* Licensed under The MIT License. * Licensed under The MIT License.
*/ */
...@@ -986,9 +986,9 @@ var duel = ( ...@@ -986,9 +986,9 @@ var duel = (
* @param {Array} node The result tree * @param {Array} node The result tree
*/ */
function renderComment(buffer, node) { function renderComment(buffer, node) {
if (node[0] === '!DOCTYPE') { if (node[0].toLowerCase() === '!doctype') {
// emit doctype // emit doctype
buffer.append('<!DOCTYPE ', node[1], '>'); buffer.append('<!doctype ', node[1], '>');
} else { } else {
// emit HTML comment // emit HTML comment
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment