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

Configuration autolink warning when markdown contains non-http url (non anchor) #299

Closed
6 tasks done
dimaslanjaka opened this issue Oct 21, 2024 · 1 comment
Closed
6 tasks done

Comments

@dimaslanjaka
Copy link

Check List

  • I have already read README.
  • I have already searched existing issues and they are not help to me.
  • I examined error or warning messages and it's difficult to solve.
  • I am using the latest version of this repository.
  • I am using the latest version of Hexo.
  • My Node.js is matched the required version.

Describe the bug

DeprecationWarning: The URL ftp://user@ipaddress:port/ is invalid. Future versions of Node.js will throw an error.

Expected behavior

Non-http(s) url should not converted into anchor

How to reproduce

  1. Create non-http(s) url text on markdown
  2. run hexo server or hexo generate

Screenshots

image
image

Environment information

Windows 10 64 bit 8GB RAM
Node v20.17.0
Hexo 7.3.0

Additional context

No response

@dimaslanjaka dimaslanjaka changed the title Configuration autolink throwing when markdown contains non-http url (non anchor) Configuration autolink warning when markdown contains non-http url (non anchor) Oct 21, 2024
@stevenjoezhang
Copy link
Member

autolink works for FTP, which is a feature of Marked: markedjs/marked#1596. You might consider disabling autolink or placing the link inside a code block.

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

2 participants