mirror of
https://github.com/LemmyNet/lemmy.git
synced 2024-11-15 08:54:01 +00:00
parent
adeba99d38
commit
0a27432b65
1 changed files with 1 additions and 1 deletions
2
ui/src/components/post-listing.tsx
vendored
2
ui/src/components/post-listing.tsx
vendored
|
@ -1223,7 +1223,7 @@ export class PostListing extends Component<PostListingProps, PostListingState> {
|
||||||
let post = this.props.post;
|
let post = this.props.post;
|
||||||
|
|
||||||
if (post.url) {
|
if (post.url) {
|
||||||
params += `&url=${post.url}`;
|
params += `&url=${encodeURIComponent(post.url)}`;
|
||||||
}
|
}
|
||||||
if (this.props.post.body) {
|
if (this.props.post.body) {
|
||||||
params += `&body=${this.props.post.body}`;
|
params += `&body=${this.props.post.body}`;
|
||||||
|
|
Loading…
Reference in a new issue