The object the tweet gets wrapped in is currently a div, which I had to set to display: inline, but I also have found that since I use a the simple TinyMCE editor, wordpress puts the div on a new line since the editor automatically puts my text into
tags. So even though my editor looks like this
This is some text [then the shortcode] with what I wanted tweeted [/shortcode] and some text after
The output HTML looks like this
<p>This is some text</p> <div class="inline-tweet"> with what I want tweeted</div> and some text after.
And when that displays, it looks like:
this is some text
with what I wanted tweeted and some text after.
So, I changed in the plugin PHP the div to a span, but I am wondering why it is a div in the first place, since it should always be an inline element inside of a
right? Or could that be an option? I don't want the plugin to break during updates if I manually change the
to a
in the inline-tweet-sharer.php file.
Does this make sense?