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

Add unicode text format operation #1083

Merged
merged 3 commits into from
Feb 1, 2021

Conversation

mattnotmitt
Copy link
Collaborator

@mattnotmitt mattnotmitt commented Aug 13, 2020

Closes #1082.

Adds formatting of text for Unicode strikethrough and underline.

Todo

  • Write tests

@mattnotmitt mattnotmitt marked this pull request as ready for review August 19, 2020 09:56
},
{
name: "Remove Diacritics: all diacritical marks one char",
input: "à̴̵̶̷̸̡̢̧̨̛̖̗̘̙̜̝̞̟̠̣̤̥̦̩̪̫̬̭̮̯̰̱̲̳̹̺̻̼́̂̃̄̅̆̇̈̉̊̋̌̍̎̏̐̑̒̓̔̽̾̿̀́͂̓̈́̕̚͠͡ͅ", // sorry about this line lol
Copy link
Member

Choose a reason for hiding this comment

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

🤣

this.name = "Unicode Text Format";
this.module = "Default";
this.description = "Adds Unicode combining characters to change formatting of plaintext.";
this.infoURL = "https://en.wikipedia.org/wiki/Combining_character";
Copy link
Member

Choose a reason for hiding this comment

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

Remember to remove the localisation (en.) from wikipedia urls. Removing it means that users get given their local version (if it exists).

@n1474335 n1474335 merged commit 0a09492 into gchq:master Feb 1, 2021
@n1474335
Copy link
Member

n1474335 commented Feb 1, 2021

Thanks very much, this is nice.

@mattnotmitt mattnotmitt deleted the features/unicode-format branch September 18, 2022 15:37
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.

Operation request: Unicode strikethrough
2 participants