diff options
| author | Michael Williamson <mike@zwobble.org> | 2013-04-01 16:57:41 +0100 |
|---|---|---|
| committer | Michael Williamson <mike@zwobble.org> | 2013-04-01 16:57:41 +0100 |
| commit | 25109ca7e318e188229cac92552ba0dcd7e897a1 (patch) | |
| tree | 324cecb9ddc3cd5ad85c45143cbe1513aa3e2edc /lib/styles.js | |
| parent | 376094a18d76eef4335e374455f0b2869e53120b (diff) | |
Add conversion of hyperlink elements to <a> tags
Diffstat (limited to 'lib/styles.js')
| -rw-r--r-- | lib/styles.js | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/styles.js b/lib/styles.js index 8120a76..cbe36d4 100644 --- a/lib/styles.js +++ b/lib/styles.js @@ -23,6 +23,7 @@ function element(tagName, options) { return { tagName: tagName, fresh: options.fresh, - "class": options["class"] + "class": options["class"], + href: options.href }; } |
