5
<h3><?php echo $this->__('Details & Documents') ?></h3>

上記は次のように出力されます。Details &amp; Documents

次のように出力される適切な構文は何Details & Documentsですか?

ありがとう

4

1 に答える 1

5

html_entity_decodeは、あなたが望むことをする必要があります:

<h3><?php echo html_entity_decode($this->__('Details & Documents')) ?></h3>

これにはMagento固有の設定があるかもしれませんが。

于 2011-12-22T17:51:10.503 に答える