Is there a reason for the limit of HTML attributes to 128 characters? I am trying to add multiple attributes including a text attribute for the tweet service code but it is longer than 128 characters. Is there a better way to do this? Maybe I'm doing it completely wrong.

Service Code: tweet
HTML classes: addthis_button_tweet
HTML attributes:
tw:text="Watch FUNNY 4 min free videos. Leyna Weber & Annie Luski's digital production company. Worth a click" tw:via="WorkingBug"



Les Lim’s picture

Drupal's Form API puts a default maxlength of 128 on all textfields unless specified otherwise. I didn't think to set a higher one, but it definitely should be more than 128. I won't be able to produce a patch for it until later tonight at the earliest, though.

deggertsen’s picture

Thanks for the quick reply. It would be great to have a patch. If I get desperate enough I may try to produce one myself though I'm not much of a programmer.

Thanks again

Les Lim’s picture

Version: 6.x-3.0-beta1 » 6.x-3.x-dev
Status: Active » Fixed

Fix committed. A new beta release should be available shortly.

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.