aboutsummaryrefslogtreecommitdiff
path: root/lib/underline.js
diff options
context:
space:
mode:
Diffstat (limited to 'lib/underline.js')
-rw-r--r--lib/underline.js3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/underline.js b/lib/underline.js
index 17448e8..fd5dc0f 100644
--- a/lib/underline.js
+++ b/lib/underline.js
@@ -1,10 +1,11 @@
var htmlPaths = require("./html-paths");
+var Html = require("./html");
exports.element = element;
function element(name) {
return function(html) {
- html.open(htmlPaths.element(name));
+ return Html.elementWithTag(htmlPaths.element(name), [html]);
};
}