drupal:メニューリンクの文字エンティティ
-
14-11-2019 - |
質問
私はリンクタイトルが文字エンティティ(例えばLa Niña
)を含むメニューリンクを持っています。ただし、Drupalは文字エンティティを認識しておらず、Ampersandをさらにエンコードしているので、La Niña
で終わりました。どうやって修正するのですか?
解決
You can override themable output in your theme template.php file or in a custom module.
Basicaly, the point is that the l() function isn't called with the "html" option in theme_menu_link
See http://api.drupal.org/api/drupal/includes--common.inc/function/l/7 and http://api.drupal.org/api/drupal/includes--menu.inc/function/theme_menu_link/7
所属していません StackOverflow