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),

CommentFileSizeAuthor
#1 hs_taxonomy_htmlentities.patch487 bytessvendecabooter
Support from Acquia helps fund testing for Drupal Acquia logo

Comments

svendecabooter’s picture

FileSize
487 bytes

I'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.

Wim Leers’s picture

6.x-3.3 == HEAD.

Thanks, sven! :)

Wim Leers’s picture

Priority: Normal » Minor
Wim Leers’s picture

Status: Active » Closed (fixed)
swentel’s picture

Status: Closed (fixed) » Needs review

This is actually wrong, you should be using the ENT_QUOTES, because single quotes aren't decoded now, so:

html_entity_decode($label, ENT_QUOTES);

Too lazy to create a patch ... :)

Wim Leers’s picture

Status: Needs review » Fixed

Thanks swentel. Committed!

http://drupal.org/cvs?commit=416674

Also backported to D5: http://drupal.org/cvs?commit=416676

Status: Fixed » Closed (fixed)

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