Add new comment

Phil Sun, 08/17/2008 - 16:34

In reply to by Phil

Comment

Esto es un hijack en toda regla (¡lo siento') pero para terminar de mantener esto actualizado:
Al final no podía hacerse con las entities de html porque drupal no las traduce si están en el título. Por eso con el código anterior salían los códigos &XXXX; en todos los títulos. Pero no temáis:

$value = mb_convert_encoding($value, "ISO-8859-1", "UTF-8" );
$value = str_replace("'","& #39;",$value);

¡Victoria!

The content of this field is kept private and will not be shown publicly.

Filtered HTML

  • Allowed HTML tags: <a href hreflang> <em> <strong> <cite> <blockquote cite> <code> <ul type> <ol start type='1 A I'> <li> <dl> <dt> <dd> <h2 id='jump-*'> <h3 id> <h4 id> <h5 id> <h6 id>
  • Lines and paragraphs break automatically.
  • Web page addresses and email addresses turn into links automatically.
CAPTCHA
Enter the characters shown in the image.
This question is for testing whether or not you are a human visitor and to prevent automated spam submissions.