Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(link): Don't throw exception on invalid URL href
When pasting strings with invalid URLs, `new URL()` in `renderHTML()` of the Link extension threw an error, which made the paste parser choke. We should catch this exception and handle it gracefully to not break HTML parsing completely with invalid URLs. Signed-off-by: Jonas <[email protected]>
- Loading branch information