The result field in the shurly_create_form() definition is something of a mess, but for here I'm only going to point out that there is one too many close div tags in the #field_suffix markup:

'#field_suffix' => ' <div id="shurly-copy-container" style="position:relative;"><div id="shurly-copy">' . t('copy') . '</div></div>
      <div class="social"><a href="http://twitter.com?status=' . urlencode($form_state['storage']['shurly']['final_url']) . '">' . t('Create a Twitter message with this URL') . '</a></div></div>',

But really that whole element should be broken out into several elements and better styled.

CommentFileSizeAuthor
#3 Remove_extra_div-1840604-3.patch806 bytesjibus

Comments

rboedeker’s picture

... a year later and the bug is still there ... If your theme breaks after shrinking an url, just delete the last <div> (in shurly.module, $form['result'] )
a patch will follow ...

XTCHost’s picture

Thanks for that info

jibus’s picture

Issue summary: View changes
Status: Active » Reviewed & tested by the community
StatusFileSize
new806 bytes

Patch attached.

Since it's a small change. Set this to RTBC.

jibus’s picture

Status: Reviewed & tested by the community » Closed (fixed)

Committed against 7.x-1.x thanks