Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wiki-js
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
1
Issues
1
List
Board
Labels
Milestones
Merge Requests
1
Merge Requests
1
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Jacklull
wiki-js
Commits
04a18968
Unverified
Commit
04a18968
authored
Oct 25, 2020
by
Nicolas Giard
Committed by
GitHub
Oct 25, 2020
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix: revert refactor in markdown-kroki and plantuml modules (#2619)
parent
f56b6ee0
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
14 additions
and
4 deletions
+14
-4
renderer.js
server/modules/rendering/markdown-kroki/renderer.js
+7
-2
renderer.js
server/modules/rendering/markdown-plantuml/renderer.js
+7
-2
No files found.
server/modules/rendering/markdown-kroki/renderer.js
View file @
04a18968
...
...
@@ -73,8 +73,13 @@ module.exports = {
continue
}
const
i
=
closeMarker
.
findIndex
(
item
=>
item
!==
state
.
src
[
start
+
i
])
const
closeMarkerMatched
=
i
!==
-
1
let
closeMarkerMatched
=
true
for
(
i
=
0
;
i
<
closeMarker
.
length
;
++
i
)
{
if
(
closeMarker
[
i
]
!==
state
.
src
[
start
+
i
])
{
closeMarkerMatched
=
false
break
}
}
if
(
!
closeMarkerMatched
)
{
continue
...
...
server/modules/rendering/markdown-plantuml/renderer.js
View file @
04a18968
...
...
@@ -74,8 +74,13 @@ module.exports = {
continue
}
const
i
=
closeMarker
.
findIndex
(
item
=>
item
!==
state
.
src
[
start
+
i
])
const
closeMarkerMatched
=
i
!==
-
1
let
closeMarkerMatched
=
true
for
(
i
=
0
;
i
<
closeMarker
.
length
;
++
i
)
{
if
(
closeMarker
[
i
]
!==
state
.
src
[
start
+
i
])
{
closeMarkerMatched
=
false
break
}
}
if
(
!
closeMarkerMatched
)
{
continue
...
...
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