Closed (won't fix)
Project:
MaxLength
Version:
7.x-3.x-dev
Component:
Code
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
2 Nov 2012 at 14:55 UTC
Updated:
26 Aug 2021 at 17:32 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #1
emattias commentedSorry the title is wrong. This patch doesn't make the defaults overridable.
Comment #2
manasiv commentedI verified the html entities elimination part of the patch. It works great. I have not used the token elimination patch.
Comment #3
OWastUpdating title.
Comment #4
OWastSame patch as above, only removing irrelevant changes and applying against latest dev.
Comment #5
scott.whittaker commentedI had this same issue with entities increasing the count, but used the following as a much simpler patch in the ml.strip_tags function:
It doesn't deal with media tokens though.
Comment #6
batje commentedPatch #4 works for me. But server-side the media filter (everything between [[]]) was not applied, so got an error on submitting the form.
Added 1 line that removes the content of [[ABC]] ;
(and some spaces)
Comment #7
asrobI think it doesn't work. I have a text that contains some characters (for example "Á") in full html but with this patch it doesn't count it as 1.
Comment #8
cedeweyWe are putting a feature freeze on the Drupal 7 version of the module, so I'm marking this Closed, won't fix. Thank you everyone for working on this issue. If you do want to maintain the Drupal 7 version, do reach out. We'd be happy to bring you on board as a maintainer.