Comments (3)
more info, this comes from the text/plain version of an email (which originally was html) and some clients convert to text version so it is rendered correctly in any other client.
and it seems it is because of the ">" character.
As a workaround, we did a preprocessing step by text.replace(/>/g, " > ")
to add spaces to the text, but it is suboptimal.
from url-regex-safe.
If you can submit a PR to fix this, and/or add tests that fail that would be great!
from url-regex-safe.
v4.0.0 released with this fixed
release notes @ https://github.com/spamscanner/url-regex-safe/releases/tag/v4.0.0
note: this version now requires node v14+
from url-regex-safe.
Related Issues (20)
- Wrong match in html HOT 1
- Regex not matching URLS HOT 1
- Invalid port HOT 2
- Issue with Email Addresses Getting pulled In HOT 4
- Not working with TypeScript HOT 3
- trailingPeriod setting not honored on subdomains HOT 7
- re2 breaks builds HOT 2
- browser friendly HOT 6
- Capture group support?
- url regex unsafe HOT 1
- Install fails because "re2" dependency can't find Python HOT 3
- jest malloc errors HOT 6
- Add option to not use `re2` even if it's in the dependency tree HOT 3
- Grab safe-url-regex to prevent type-squatting HOT 1
- Matches email addresses (within a larger string) with default options HOT 3
- High CPU usage compared to 'url-regex' HOT 1
- Fails to install on MacOS with M1 processors HOT 2
- closing bracket on wikipedia links is ignored HOT 2
- Browser support HOT 7
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from url-regex-safe.