Skip to content

Commit 25a4533

Browse files
author
yggverse
committed
trim members
1 parent 841ee20 commit 25a4533

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/line/link.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -42,10 +42,10 @@ impl Link {
4242
);
4343
s.push_str(TAG);
4444
s.push(S);
45-
s.push_str(&self.url);
45+
s.push_str(self.url.trim());
4646
if let Some(ref alt) = self.alt {
4747
s.push(S);
48-
s.push_str(alt);
48+
s.push_str(alt.trim());
4949
}
5050
s
5151
}

0 commit comments

Comments
 (0)