Skip to content

Handle special characters in selected text#36

Open
nona-luypaert wants to merge 1 commit intoestevanmaito:masterfrom
atmire:w2p-101699_special-charachter-handling-fix
Open

Handle special characters in selected text#36
nona-luypaert wants to merge 1 commit intoestevanmaito:masterfrom
atmire:w2p-101699_special-charachter-handling-fix

Conversation

@nona-luypaert
Copy link
Copy Markdown

Encoded the selected text when parsing the URL in SharedButton.js. This makes sure characters like % and & don't break the URLs leading to social media platforms. You can find more reserved characters here. Also added an extra test to check for this special case.

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.

Possible to accommodate for '%' signs? if "&" comes between selected text facebook post remove text after

1 participant