質問編集履歴
3
脱字の修正
test
CHANGED
File without changes
|
test
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
```html
|
2
2
|
|
3
|
-
<input class="sample" type="hidden" value="<a href="http:/example.com/">http://example.com/</a>">
|
3
|
+
<input class="sample" type="hidden" value="<a href="http://example.com/">http://example.com/</a>">
|
4
4
|
|
5
5
|
|
6
6
|
|
2
ドメインをexample\.comへ修正
test
CHANGED
File without changes
|
test
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
```html
|
2
2
|
|
3
|
-
<input class="sample" type="hidden" value="<a href="http:/
|
3
|
+
<input class="sample" type="hidden" value="<a href="http:/example.com/">http://example.com/</a>">
|
4
4
|
|
5
5
|
|
6
6
|
|
@@ -14,7 +14,7 @@
|
|
14
14
|
|
15
15
|
```HTML
|
16
16
|
|
17
|
-
<input class="sample" type="hidden" value="<a href='http://
|
17
|
+
<input class="sample" type="hidden" value="<a href='http://example.com/'>http://example.com/</a>">
|
18
18
|
|
19
19
|
```
|
20
20
|
|
1
詳細に記述
test
CHANGED
File without changes
|
test
CHANGED
@@ -6,9 +6,13 @@
|
|
6
6
|
|
7
7
|
```
|
8
8
|
|
9
|
+
|
10
|
+
|
9
11
|
このhtmlをphpで
|
10
12
|
|
13
|
+
|
14
|
+
|
11
|
-
```
|
15
|
+
```HTML
|
12
16
|
|
13
17
|
<input class="sample" type="hidden" value="<a href='http://www.yahoo.co.jp/'>http://www.yahoo.co.jp/</a>">
|
14
18
|
|
@@ -16,7 +20,7 @@
|
|
16
20
|
|
17
21
|
|
18
22
|
|
19
|
-
このように変換したいのです
|
23
|
+
このように変換したいのです。aタグのhref属性の値のみシングルクォーテーションに変換したいのです。
|
20
24
|
|
21
25
|
|
22
26
|
|