質問編集履歴

3

name値が同一だと気になる方がいらっしゃったので

2022/01/21 12:05

投稿

taka211
taka211

スコア17

test CHANGED
File without changes
test CHANGED
@@ -20,12 +20,12 @@
20
20
  ```twig
21
21
  <form action="{{ current_url() }}" method="post" enctype="multipart/form-data">
22
22
  <div class="field">
23
- <input type="text" name="hoge" value="" class="hoge">
23
+ <input type="text" name="hoge1" value="" class="hoge">
24
24
  <p class="control is-flex">
25
25
  //該当箇所↓
26
- <input class="input" type="text" name="hoge" placeholder="広告コード">
26
+ <input class="input" type="text" name="hoge2" placeholder="広告コード">
27
- <input type="hidden" name="hoge" value="hoge">
27
+ <input type="hidden" name="hoge3" value="hoge">
28
- <input type="submit" name="submit" class="button is-primary " value="編集">
28
+ <input type="submit" name="hoge4" class="button is-primary " value="編集">
29
29
  </p>
30
30
  </div>
31
31
  </form>

2

試したこと追加

2022/01/21 07:21

投稿

taka211
taka211

スコア17

test CHANGED
File without changes
test CHANGED
@@ -35,13 +35,16 @@
35
35
 
36
36
  ### 試したこと
37
37
 
38
- &のエスケープ文字が&amp;というのが関係してるかもとも思ったが関係なさそう。
38
+ &のエスケープ文字が& amp;というのが関係してるかもとも思ったが関係なさそう。
39
39
 
40
40
  < amp-ad ~>とampの前に全角空白を挿入するとそのまま送信された。
41
41
  <ampppp ~>はそのままの文字列で送信された。
42
42
  <amp-sss ~ >は<amp ~>となる。
43
43
  <am- ~ > は<am ~>となる。
44
+ amp-ad はそのままの文字列で送信された。
45
+
46
+ <の後のハイフン以降が認識されていない様。<が何かしているか。
44
- ハイフン以降が認識されていない様。しかしコード内のdata-aid=~などは-(ハイフン)があるがそのままの文字列で送信できている。
47
+ コード内のdata-aid=~などは-(ハイフン)があるがそのままの文字列で送信できている。
45
48
 
46
49
  ### 補足情報(FW/ツールのバージョンなど)
47
50
 

1

該当箇所周りのコードも念のため追記

2022/01/21 07:02

投稿

taka211
taka211

スコア17

test CHANGED
File without changes
test CHANGED
@@ -19,11 +19,17 @@
19
19
 
20
20
  ```twig
21
21
  <form action="{{ current_url() }}" method="post" enctype="multipart/form-data">
22
- <div class="field">
22
+ <div class="field">
23
+ <input type="text" name="hoge" value="" class="hoge">
24
+ <p class="control is-flex">
25
+ //該当箇所↓
23
- <input class="input" type="text" name="hoge"placeholder="広告コード">
26
+ <input class="input" type="text" name="hoge" placeholder="広告コード">
24
- <input type="submit" value="送信">
27
+ <input type="hidden" name="hoge" value="hoge">
28
+ <input type="submit" name="submit" class="button is-primary " value="編集">
29
+ </p>
25
- </div>
30
+ </div>
26
- </form>
31
+ </form>
32
+
27
33
  ```
28
34
 
29
35