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

Resolve escaped characters in a status #2071

Merged
merged 3 commits into from
May 13, 2024

Conversation

Havhingstor
Copy link
Contributor

Escaped characters are now returned to their original form for HTMLString.asRawText. That's important for translating posts.
See https://osna.social/@Mordoukna/112082755067296741

Escaped characters are now returned to their original form for
HTMLString.asRawText.
The HTMLString.asMarkdown string is now also unescaped, & and
similar are resolved.
If one of the unescape(...) commands fails, the original, unescaped
text is used instead of an empty string.
@Dimillian Dimillian merged commit 7caf00d into Dimillian:main May 13, 2024
1 check passed
@Havhingstor Havhingstor deleted the Fix-Translation-Encoding branch May 13, 2024 21:25
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.

2 participants