trim members

This commit is contained in:
yggverse 2025-03-17 22:23:07 +02:00
parent 841ee2036e
commit 25a45337ff

View file

@ -42,10 +42,10 @@ impl Link {
);
s.push_str(TAG);
s.push(S);
s.push_str(&self.url);
s.push_str(self.url.trim());
if let Some(ref alt) = self.alt {
s.push(S);
s.push_str(alt);
s.push_str(alt.trim());
}
s
}