Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
content
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Model registry
Monitor
Service Desk
Analyze
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
ok1kvk.cz
content
Commits
9470546c
Commit
9470546c
authored
5 years ago
by
Isabella Skořepová
Browse files
Options
Downloads
Patches
Plain Diff
Remove automatic https replacement
parent
e6b77126
No related branches found
No related tags found
No related merge requests found
Pipeline
#1030
passed
5 years ago
Stage: test
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
sitegin/markdown.js
+1
-6
1 addition, 6 deletions
sitegin/markdown.js
with
1 addition
and
6 deletions
sitegin/markdown.js
+
1
−
6
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
)
}
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment