Skip to content

Commit 6415390

Browse files
committed
Update readme
1 parent 8728182 commit 6415390

File tree

1 file changed

+3
-6
lines changed

1 file changed

+3
-6
lines changed

README.md

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -28,16 +28,13 @@ So, this utility attempts to handle everything. It:
2828
- Autolinks **URLs**, whether or not they start with the protocol (i.e. 'http://').
2929
In other words, it will automatically link the text "google.com", as well as
3030
"http://google.com". Will also autolink **IPv4 addresses**.
31-
- Will autolink **email addresses**
32-
- Will autolink **phone numbers**
33-
- Will autolink **@mentions** (Twitter, Instagram, Soundcloud, TikTok, Youtube)
34-
- Will autolink **#hashtags** (Twitter, Instagram, Facebook, TikTok, Youtube)
35-
- Won't clobber URLs with #hash anchors by treating them as hashtags like some other libraries do. For example: `google.com/#anchor` is properly linked.
31+
- Will autolink **email addresses**, **phone numbers**, **@mentions**, and **#hashtags**
32+
- Won't clobber URLs with #hash anchors by treating them as hashtags (like some other libraries do). For example: `google.com/#anchor` is properly linked.
3633
- **Will properly handle HTML input.** The utility will not overwrite an `href`
3734
attribute inside anchor (`<a>`) tags or any other tag/attribute, and will not
3835
accidentally wrap the inner text of `<a>`/`<script>`/`<style>` tags with a new
3936
one (which would cause doubly-nested anchor tags, or mess with scripts)
40-
- Will do all of this in `O(n)` (linear) time with low constant factors and without the possibility of RegExp [Catastrophic Backtracking](https://www.regular-expressions.info/catastrophic.html), making it extremely fast and unsusceptible to [DoS](https://en.wikipedia.org/wiki/Denial-of-service_attack) inputs.
37+
- Will do all of this in **`O(n)`** (linear) time with low constant factors and without the possibility of RegExp [Catastrophic Backtracking](https://www.regular-expressions.info/catastrophic.html), making it extremely fast and unsusceptible to [DoS](https://en.wikipedia.org/wiki/Denial-of-service_attack) inputs.
4138

4239
<a name="benchmarks-table"></a>Quick [benchmarks](#benchmarks) comparison:
4340

0 commit comments

Comments
 (0)