Skip to content

Commit 9070a28

Browse files
committed
[*] update normally
1 parent dc10ac8 commit 9070a28

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

flymoon/src/logic/md.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -108,7 +108,7 @@ impl From<MdCodeBlock> for UIMdCodeBlock {
108108
fn from(code_block: MdCodeBlock) -> Self {
109109
UIMdCodeBlock {
110110
lang: code_block.lang.into(),
111-
code: code_block.code.into(),
111+
code: code_block.code.trim().into(),
112112
}
113113
}
114114
}

0 commit comments

Comments
 (0)