Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Function doesn't return all URL's in a string. #70

Closed
necat1 opened this issue Apr 15, 2021 · 1 comment
Closed

Function doesn't return all URL's in a string. #70

necat1 opened this issue Apr 15, 2021 · 1 comment

Comments

@necat1
Copy link

necat1 commented Apr 15, 2021

I simply run the function with HTML body string as a parameter but it doesn't return all of URL's in the string.

example:
console.log(getUrls('<a href="/graficke-kartice/gigabyte-nvidia-geforce-gtx-1050ti-4gb-gddr5-128bit-gv-n105toc-4gd-graficka-kartica-cena-398657">Gigabyte nVidia GeForce GTX 1050Ti 4GB GDDR5 128bit - GV-N105TOC-4GD grafička kartica</a>'));

console:
Set(0) {}

node: v14.15.5

@necat1 necat1 closed this as completed Apr 15, 2021
@necat1
Copy link
Author

necat1 commented Apr 15, 2021

I don't really know if the repo is intended for HTML strings so i will keep an issue closed for now.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant