Skip to content

Fix the localised description containing broken URLs#2572

Merged
PrestonN merged 2 commits intoFreeTubeApp:developmentfrom
absidue:fix-description-urls
Sep 19, 2022
Merged

Fix the localised description containing broken URLs#2572
PrestonN merged 2 commits intoFreeTubeApp:developmentfrom
absidue:fix-description-urls

Conversation

@absidue
Copy link
Member

@absidue absidue commented Sep 12, 2022


Fix the localised description containing broken URLs

Pull Request Type

  • Bugfix

Related issue
Follow up to #2535
Closes #2578

Description
This pull request fixes the truncated links in the localised video description, making them valid URLs so that autolinker can properly link them.

Screenshots
Before:
before

After:
after

Testing
https://www.youtube.com/watch?v=zcchDu7KoYs

This video's description has a bunch of tricky things like timestamps, links to other videos, the special URL http://www.youtube.com/approachingnirvana and the lttstore link has utm tracking parameters.

Desktop (please complete the following information):

  • OS: Windows
  • OS Version: 10
  • FreeTube version: 0.17.1

@absidue absidue added the PR: waiting for review For PRs that are complete, tested, and ready for review label Sep 12, 2022
@PrestonN PrestonN enabled auto-merge (squash) September 12, 2022 16:46
PikachuEXE
PikachuEXE previously approved these changes Sep 13, 2022
Copy link
Member

@PikachuEXE PikachuEXE left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@absidue
Copy link
Member Author

absidue commented Sep 17, 2022

Added a fix for hashtags in the title into this PR as well.

@PikachuEXE
Copy link
Member

@ChunkyProgrammer we need your power

Copy link
Member

@ChunkyProgrammer ChunkyProgrammer left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@PrestonN PrestonN merged commit 76a9e5c into FreeTubeApp:development Sep 19, 2022
@github-actions github-actions bot removed the PR: waiting for review For PRs that are complete, tested, and ready for review label Sep 19, 2022
@absidue absidue deleted the fix-description-urls branch September 20, 2022 08:11
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.

[Bug]: Words are filtered out in video title if there is a # before the word

5 participants