我正在尝试设置一个Twitter共享报价按钮,但我可以将其与其他报价一起使用,但不适用于在实际报价中带有分号的报价。
<a href="http://twitter.com/home/?status=Don\'t talk about yourself\; it will be done when you leave. -Wilson Mizner" class="btn btn-default btn-primary twitter">Tweet</a>
有谁知道为什么它只会尝试和鸣叫一半的报价,以及我该如何解决呢?
我认为它需要进行URL编码。因此,;
需要将分号转换为%3B
您的URL。
本文收集自互联网,转载请注明来源。
如有侵权,请联系[email protected] 删除。
我来说两句