• This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn more.

Service issue Share TwitterPage

Mike

XenForo developer
Staff member
#2
I think that's a Twitter bug. Here's the HTML:

HTML:
                <div class="tweet shareControl">

                    <a href="http://twitter.com/share" class="twitter-share-button"
                        data-count="horizontal"
                        data-lang="en"
                        data-url="http://ragtek.org/xenforo/threads/already-15-add-ons-available-here.138/"
                        data-text="Already &gt; 15 Add-ons available here"
                        data-via="ragtek"
                        >Tweet</a>
                </div>
You can see that the data-text is an attribute, so as such we have to escape entities to be valid/safe. &gt; in an attribute is a >. It looks like Twitter's code isn't doing that unescaping.