We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 8bf531a commit 65c207cCopy full SHA for 65c207c
ixx/src/option.rs
@@ -43,8 +43,8 @@ pub enum Content {
43
impl Content {
44
pub(crate) fn render(self) -> String {
45
match self {
46
- Self::LiteralExpression { text } => highlight(&text),
47
- Self::Markdown { text } => markdown::to_html(&text),
+ Self::LiteralExpression { text } => highlight(text.trim()),
+ Self::Markdown { text } => markdown::to_html(text.trim()),
48
}
49
50
0 commit comments