MTのカスタムフィールド(複数行)の改行をサイトに反映させる デフォルトのカスタムフィールドタグでは、複数行のカスタムフィールドで入力した改行がサイトに反映されません。 サイトに改行を反映させる為にはnl2brモディファイアを利用します。 例えばMTprというカスタムフィールドタグで改行を反映さえたい場合、 <MTpr nl2br="xhtml"> という具合にnl2brモディファイアにxhtmlと指定することで改行をbr要素に変換して出力してくれます。 【お知らせ】 4/26に大阪で無料のMovable Typeセミナーを行います。 関連エントリー MTでopモディファイアを利用して複雑なレイアウトを行う Movable TypeでSEO対策-Feed編- MTカスタムフィールド画像を見えるようにする(推奨) Movable Typeの再構築 高速化いろいろ エントリーテンプレートでのM