• M
    Simplifying consumers of LinkDetector · 693a021c
    Michael J. Miller 提交于
    LinkDetector now always returns an HTMLElement. Each line of the input is handled separately and is not checked for links if it is longer than MAX_LENGTH, but the rest of the input is still checked. Recursion is used to handle future cases when more RegEx patterns are added.
    693a021c
linkDetector.ts 5.2 KB