Skip to content

#14084 fix: preserve trailing hyphen in URLs when followed by space or newline#14579

Open
polaris428 wants to merge 1 commit intosignalapp:mainfrom
polaris428:fix/trailing-hyphen-url
Open

#14084 fix: preserve trailing hyphen in URLs when followed by space or newline#14579
polaris428 wants to merge 1 commit intosignalapp:mainfrom
polaris428:fix/trailing-hyphen-url

Conversation

@polaris428
Copy link

First time contributor checklist

Contributor checklist

  • Galaxy 26, Android 16
  • My contribution is fully baked and ready to be merged as is
  • I ensure that all the open issues my contribution fixes are mentioned in the commit message of my first commit using the Fixes #14084

Description

Fixes a bug where URLs ending with a hyphen (-) lost the trailing hyphen when followed by a space, newline, or word. Now, the trailing hyphen is preserved in the link if it is followed by whitespace, a newline, or end of string.
image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant