mirror of
https://github.com/YGGverse/ggemtext.git
synced 2026-03-31 17:15:33 +00:00
trim members
This commit is contained in:
parent
841ee2036e
commit
25a45337ff
1 changed files with 2 additions and 2 deletions
|
|
@ -42,10 +42,10 @@ impl Link {
|
||||||
);
|
);
|
||||||
s.push_str(TAG);
|
s.push_str(TAG);
|
||||||
s.push(S);
|
s.push(S);
|
||||||
s.push_str(&self.url);
|
s.push_str(self.url.trim());
|
||||||
if let Some(ref alt) = self.alt {
|
if let Some(ref alt) = self.alt {
|
||||||
s.push(S);
|
s.push(S);
|
||||||
s.push_str(alt);
|
s.push_str(alt.trim());
|
||||||
}
|
}
|
||||||
s
|
s
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue