Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
S
spring-boot-admin
Project
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
openSource
spring-boot-admin
Commits
c564c898
Commit
c564c898
authored
Sep 28, 2016
by
Johannes Edmeier
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update to linkifyjs 2.1.2
Updated linkifyjs to 2.1.2 which treats single quotes as punctuation and now renders the detected links in the yml nicely.
parent
cf822d97
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
1 addition
and
8 deletions
+1
-8
linkify.js
...t-admin-server-ui/modules/applications/filters/linkify.js
+0
-7
package.json
spring-boot-admin-server-ui/package.json
+1
-1
No files found.
spring-boot-admin-server-ui/modules/applications/filters/linkify.js
View file @
c564c898
...
...
@@ -22,13 +22,6 @@ module.exports = function () {
var
max
=
maxLength
||
Number
.
MAX_VALUE
;
return
linkify
(
input
,
{
target
:
'_blank'
,
formatHref
:
function
(
href
,
type
)
{
if
(
type
===
'url'
)
{
//the yaml filter quotes all strings with singlequotes which then shows up in the href so we remove them here
return
href
.
replace
(
/'$/
,
''
);
}
return
href
;
},
format
:
function
(
url
,
type
)
{
if
(
type
===
'url'
&&
url
.
length
>
max
)
{
url
=
url
.
replace
(
/https
?
:
\/\/
/
,
''
);
...
...
spring-boot-admin-server-ui/package.json
View file @
c564c898
...
...
@@ -18,7 +18,7 @@
"font-awesome"
:
"^4.6.3"
,
"jquery"
:
"^2.2.4"
,
"js-yaml"
:
"^3.6.1"
,
"linkifyjs"
:
"^2.
0.3
"
"linkifyjs"
:
"^2.
1.2
"
},
"devDependencies"
:
{
"clean-webpack-plugin"
:
"^0.1.10"
,
...
...
Write
Preview
Markdown
is supported
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