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

Title of page coming with white space and new lines as share text #13

Closed
saqueib opened this issue Jul 25, 2015 · 1 comment
Closed
Labels

Comments

@saqueib
Copy link

saqueib commented Jul 25, 2015

I am getting this strange behaviour, If my page title as some white space and new line, its picking up those and.

  <title>      My cool title with location, New Delhi India 
     &middot; AppName</title>

Now when I am sharing it its showing it like this

  My cool title with location, New Delhi India 
     · AppName http://localhost:8000/AppName

Since title is generated from PHP backend I am not able to keep it in single line, if jssocial can clean the text a lil will be good

 92.         return $.extend({ url: this.url, text: this.text }, share, shareConfig);

I thing adding .trim() on desct or title should do it

@tabalinas tabalinas added the bug label Jul 25, 2015
@tabalinas
Copy link
Owner

Thank you for the request! This should be fixed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants