Edward Kung 15bd1c3fc5
Fix the check for misleading links (#1901)
* Fix the check for misleading links

* replace tabs with spaces

* remove trailing spaces

* move isMisleadingLinks to lib/url.js and create unit tests

* Add comments to test cases

* URLs can contain hyphens

---------

Co-authored-by: ekzyis <ek@stacker.news>
2025-02-14 09:43:08 -06:00
..
2025-02-11 16:29:37 -06:00
2024-04-26 21:22:30 -05:00
2024-04-26 21:22:30 -05:00
2025-02-03 18:41:01 -06:00
2024-07-21 11:46:52 -05:00
2024-07-01 12:02:29 -05:00
2024-11-29 19:58:18 -06:00
2025-01-30 19:19:49 -06:00
2024-11-07 09:03:54 -06:00
2024-02-13 13:17:56 -06:00
2024-02-13 13:17:56 -06:00
2024-05-01 09:30:36 -05:00
2024-09-28 16:33:07 -05:00
2024-08-27 11:16:02 -05:00
2024-03-19 19:37:31 -05:00
2024-03-20 20:56:40 -05:00
2025-02-07 13:38:57 -06:00
2024-12-13 13:28:36 -06:00