mirror of
https://codeberg.org/yeentown/barkey
synced 2024-11-27 09:13:02 +00:00
Trim code
This commit is contained in:
parent
d8f8e19d06
commit
bf077da72f
1 changed files with 1 additions and 1 deletions
|
@ -19,6 +19,6 @@ export default function(text: string) {
|
||||||
type: 'code',
|
type: 'code',
|
||||||
content: code,
|
content: code,
|
||||||
code: match[1],
|
code: match[1],
|
||||||
html: genHtml(match[1])
|
html: genHtml(match[1].trim())
|
||||||
} as TextElementCode;
|
} as TextElementCode;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue