Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
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 WorkingBug.com FUNNY 4 min free videos. Leyna Weber & Annie Luski's digital production company. Worth a click" tw:via="WorkingBug"
Thanks
Comments
Comment #1
Les LimDrupal'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.
Comment #2
deggertsen CreditAttribution: deggertsen commentedThanks 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
Comment #3
Les LimFix committed. A new beta release should be available shortly.