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

Weird characters on the returning data #9

Open
christocoop opened this issue Aug 19, 2014 · 1 comment
Open

Weird characters on the returning data #9

christocoop opened this issue Aug 19, 2014 · 1 comment

Comments

@christocoop
Copy link

Using the address like (https://music.yahoo.com/blogs/music-news/taylor-swift-to-go-totally--80s-on--first-official-pop-album-235627664.html) I get a bunch of weird character for quotation marks and commas. If this were php I would just do just do a "htmlspecialchars($str)" to fix this problem, but since this is javascript how can I fix this issue on the returning data?

@christocoop
Copy link
Author

The problem looks to come from the apostrophes that are entered into the jQuery-LiveURL. It looks like the LiveURL has an error with (') . It takes (& # 39;) and displays the html code character

Here is an example of a url going arwy: http://news.nationalgeographic.com/news/2014/03/141001-two-degrees-global-warming-climate-science/

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

No branches or pull requests

1 participant