Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
ok1kvk.cz
content
Commits
9470546c
Commit
9470546c
authored
Jan 22, 2020
by
Isabella Skořepová
Browse files
Remove automatic https replacement
parent
e6b77126
Pipeline
#1030
passed with stage
in 1 minute and 45 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
sitegin/markdown.js
View file @
9470546c
...
...
@@ -51,12 +51,7 @@ renderer._link = renderer.link
module
.
exports
=
obj
=>
{
console
.
log
(
'
Build step: Markdown
'
)
renderer
.
link
=
(
href_
,
title
,
text
)
=>
{
let
href
=
href_
if
(
href
.
match
(
/^http:
\/\/
ok1kvk.cz/
))
href
=
href
.
replace
(
'
http://
'
,
'
https://
'
)
renderer
.
link
=
(
href
,
title
,
text
)
=>
{
return
renderer
.
_link
(
href
,
title
,
text
)
}
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment