Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature: Render http://... and https:// as <a> in the weblogs #50

Merged
merged 2 commits into from May 24, 2021

Conversation

frosch123
Copy link
Member

With this text starting with http:// or https:// is rendered as link up to the first space.

The detection is inserted after the html escaping. The linktext remains html-escaped, the url is html-unescaped and then url-quoted...

I tested this out of context, so I hope there is some staging :)

@TrueBrain TrueBrain merged commit ecb1c89 into OpenTTD:master May 24, 2021
@TrueBrain TrueBrain changed the title Render http://... and https:// as <a> in the weblogs. Feature: Render http://... and https:// as <a> in the weblogs May 24, 2021
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.

None yet

2 participants