Fixed ESLint errors (#3134)
Этот коммит содержится в:
коммит произвёл
Christopher Speller
родитель
ec7a273550
Коммит
1e7805b790
@@ -130,10 +130,10 @@ class MattermostMarkdownRenderer extends marked.Renderer {
|
|||||||
|
|
||||||
if (/^\d+.$/.test(bullet)) {
|
if (/^\d+.$/.test(bullet)) {
|
||||||
// this is a numbered list item so override the numbering
|
// this is a numbered list item so override the numbering
|
||||||
return `<li value="${parseInt(bullet)}">${text}</li>`;
|
return `<li value="${parseInt(bullet, 10)}">${text}</li>`;
|
||||||
} else {
|
|
||||||
return `<li>${text}</li>`;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
return `<li>${text}</li>`;
|
||||||
}
|
}
|
||||||
|
|
||||||
text(txt) {
|
text(txt) {
|
||||||
|
|||||||
Ссылка в новой задаче
Block a user