回答編集履歴
1
edit
answer
CHANGED
@@ -1,3 +1,3 @@
|
|
1
1
|
html()にして<br />
|
2
2
|
|
3
|
-
br以外にも方法はありますがtext()だとhtmlはエスケープされるので、実質的に不可です。
|
3
|
+
br以外にも方法はありますが[text()だとhtmlはエスケープされる](http://js.studio-kingdom.com/jquery/manipulation/text#1)ので、実質的に不可です。
|