Comparing version 1.0.1 to 1.0.2
{ | ||
"name": "trunc-html", | ||
"description": "truncate html by text length", | ||
"version": "1.0.1", | ||
"version": "1.0.2", | ||
"homepage": "https://github.com/bevacqua/trunc-html", | ||
@@ -6,0 +6,0 @@ "author": { |
@@ -27,3 +27,3 @@ # trunc-html | ||
var html = 'the force is <strong>with this one</strong>. some more rubbish'; | ||
trunc(html, { limit: 30 }); | ||
trunc(html, 30); | ||
// <- | ||
@@ -46,2 +46,6 @@ // { html: 'the force is <strong>with this one</strong>. …', | ||
# related | ||
- [`trunc-text`](https://github.com/bevacqua/trunc-text) | ||
# license | ||
@@ -48,0 +52,0 @@ |
4845
54