aboutsummaryrefslogtreecommitdiffstats
path: root/lookupDictionary.js
diff options
context:
space:
mode:
authorteramako2013-02-11 22:43:10 +0900
committerteramako2013-02-11 22:43:10 +0900
commit31b18e048ab5ec8c17dc56cad21446dbf52ba11a (patch)
tree21413e32b5f26a66d5c09b8a7dc7976ac6da2cd2 /lookupDictionary.js
parentfb49502e359fe567f02fb64603906bd6b5d00a36 (diff)
downloadvimperator-plugins-31b18e048ab5ec8c17dc56cad21446dbf52ba11a.tar.bz2
use template.maybeXML
Diffstat (limited to 'lookupDictionary.js')
-rw-r--r--lookupDictionary.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/lookupDictionary.js b/lookupDictionary.js
index b5ba3bd..6ebafc7 100644
--- a/lookupDictionary.js
+++ b/lookupDictionary.js
@@ -174,7 +174,7 @@ SITE_DEFINITION.forEach(function (dictionary) {
var xs = new XMLSerializer();
liberator.echo(xml`<div style="white-space:normal;">
<base href=${util.escapeHTML(url)}/>
- ${new TemplateXML(xs.serializeToString( result ))}
+ ${template.maybeXML(xs.serializeToString( result ))}
</div>`);
}, dictionary.srcEncode ? dictionary.srcEncode : null);
},