When I built the Build a Random Quote Machine, I met a problem.
I added a weibo button, and the js code for the button behavior is the following
$(‘#weibo-quote’).attr(‘href’, ‘分享到微博-微博-随时随地分享身边的新鲜事儿’ + ‘"’+ currentQuote + ‘"’ + currentAuthor);
But after I click the button, in the weibo page, I saw 2 "
not " ".
That’s what I got through the js code after I click the weibo button:
http://service.weibo.com/share/share.php?language=zh_cn&title="Go%20ahead,%20make%20my%20day."Sudden%20Impact
How can I translate them into “” here?
Thanks~
Colin