Drupal : 메뉴 링크 제목의 문자 엔티티
-
14-11-2019 - |
문제
링크 제목이 문자 엔티티 (예 : La Niña
)가 들어있는 메뉴 링크가 있습니다.그러나 Drupal은 캐릭터 엔티티를 인식하지 못하고 앰퍼샌드를 추가로 인코딩하지 않으므로 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