Email:<%= html_escape(h("Ann & Bill <[email protected]>"))%><br>
輸出Email:Ann & Bill <[email protected]>
Email:<%= h("Ann & Bill <[email protected]>")%><br>
輸出:Email:Ann & Bill <[email protected]>
完全不知道爲什麼。要加上html_escape才能正確讀出?
《web 開發敏捷之道》中的卻是寫後者 卻得到轉義後的字符