Skip to content

Commit

Permalink
replaceAllをやめる
Browse files Browse the repository at this point in the history
  • Loading branch information
ef81sp committed Jan 3, 2025
1 parent 3d9e386 commit 4f7a7c9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/ShareDialog.vue
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ const shareOnXUrl = computed(
)
const shareOnBlueskyUrl = computed(
() =>
`https://bsky.app/intent/compose?text=${encodeURIComponent(props.shareText.replaceAll('\n', ' | '))}`,
`https://bsky.app/intent/compose?text=${encodeURIComponent(props.shareText.split('\n').join(' | '))}`,
)
const textareaId = useId()
Expand Down

0 comments on commit 4f7a7c9

Please sign in to comment.