Skip to content
This repository has been archived by the owner on Mar 13, 2024. It is now read-only.

Update markdown.jsx for numbers in uris (master) #140

Closed
wants to merge 1 commit into from
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion utils/markdown.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -157,7 +157,7 @@ class MattermostMarkdownRenderer extends marked.Renderer {
return text;
}

if (!(/[a-z+.-]+:/i).test(outHref)) {
if (!(/[a-z0-9+.-]+:/i).test(outHref)) {
outHref = `http:https://${outHref}`;
}

Expand Down