escape tag markdown
This commit is contained in:
parent
d159fa4a00
commit
61c8a8de01
1 changed files with 1 additions and 1 deletions
|
@ -55,7 +55,7 @@ function notEmpty(str) {
|
||||||
|
|
||||||
const regexCutTags = /[\S\s]{1,875}[^,]{0,25}/;
|
const regexCutTags = /[\S\s]{1,875}[^,]{0,25}/;
|
||||||
function formatTags(tags) {
|
function formatTags(tags) {
|
||||||
const tagString = decode(tags.join(', '));
|
const tagString = decode(tags.map(escapeMarkdown).join(', '));
|
||||||
|
|
||||||
if (tagString.length < 500) {
|
if (tagString.length < 500) {
|
||||||
return tagString;
|
return tagString;
|
||||||
|
|
Loading…
Reference in a new issue