回答編集履歴
1
HTML修正
answer
CHANGED
@@ -1,9 +1,9 @@
|
|
1
1
|
制御文字をはじく場合。
|
2
2
|
```HTML
|
3
|
-
<input pattern="[^\x00-\x1f\x7f]*" />
|
3
|
+
<input type="text" pattern="[^\x00-\x1f\x7f]*" />
|
4
4
|
```
|
5
5
|
|
6
6
|
ほかにもあるなら追加していけばいいのではないでしょうか。
|
7
7
|
```HTML
|
8
|
-
<input type="text"
|
8
|
+
<input type="text" pattern="[^\x00-\x1f\x7f<>"%]*" />
|
9
9
|
```
|