mirror of
https://github.com/mattermost/mattermost.git
synced 2025-02-25 18:55:24 -06:00
Fixed ESLint errors (#3134)
This commit is contained in:
committed by
Christopher Speller
parent
ec7a273550
commit
1e7805b790
@@ -130,10 +130,10 @@ class MattermostMarkdownRenderer extends marked.Renderer {
|
||||
|
||||
if (/^\d+.$/.test(bullet)) {
|
||||
// this is a numbered list item so override the numbering
|
||||
return `<li value="${parseInt(bullet)}">${text}</li>`;
|
||||
} else {
|
||||
return `<li>${text}</li>`;
|
||||
return `<li value="${parseInt(bullet, 10)}">${text}</li>`;
|
||||
}
|
||||
|
||||
return `<li>${text}</li>`;
|
||||
}
|
||||
|
||||
text(txt) {
|
||||
|
||||
Reference in New Issue
Block a user