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.
Try to create vocabulary item with html entities. You will get html encoding string who saved to term_data table.
Ex. "test" -> "test"
hs_taxonomy.module: 476
change
'name' => $label,
into
name' => html_entity_decode($label),
Comment | File | Size | Author |
---|---|---|---|
#1 | hs_taxonomy_htmlentities.patch | 487 bytes | svendecabooter |
Comments
Comment #1
svendecabooterI'm having the same problem.
Here is a patch against hs_taxonomy 6.x-3.3.
If I have some more time I'll create one for HEAD.
Comment #2
Wim Leers6.x-3.3 == HEAD.
Thanks, sven! :)
Comment #3
Wim LeersCommitted!
http://drupal.org/cvs?commit=410034
Comment #4
Wim LeersComment #5
swentel CreditAttribution: swentel commentedThis is actually wrong, you should be using the ENT_QUOTES, because single quotes aren't decoded now, so:
Too lazy to create a patch ... :)
Comment #6
Wim LeersThanks swentel. Committed!
http://drupal.org/cvs?commit=416674
Also backported to D5: http://drupal.org/cvs?commit=416676