-
Notifications
You must be signed in to change notification settings - Fork 24
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
Example with after function #7
Comments
Cannot replace ! char, this char caused error in url of browser. |
@mrpeo Your problem can be resolved by adding the before: function(text) {
return text
.split("'").join('')
.split('!').join('')
.split('(').join('')
.split(')').join('');
} This is a temporary fix until the author fixes the issues. Although it's been over 2 years since the last commit so I'm doubtful of that, |
@mrpeo That problem can be resolved by mapping the problematic character to the separator character like this: map: { That way the character will simply act as a separator and the plugin will flow normally without the needing of any callback. If you map any character to an empty string then the mapping will have no effect at all, because the line 49: |
Could I ask for an example with "after" function?
The text was updated successfully, but these errors were encountered: