Trim code
This commit is contained in:
parent
3113e30c41
commit
cccd889449
1 changed files with 1 additions and 1 deletions
|
|
@ -19,6 +19,6 @@ export default function(text: string) {
|
|||
type: 'code',
|
||||
content: code,
|
||||
code: match[1],
|
||||
html: genHtml(match[1])
|
||||
html: genHtml(match[1].trim())
|
||||
} as TextElementCode;
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue