回答編集履歴
1
修正
test
CHANGED
@@ -6,7 +6,7 @@
|
|
6
6
|
|
7
7
|
```ruby
|
8
8
|
|
9
|
-
content = "![image][12345]"
|
9
|
+
content = "![image][12345]\n![image][22222]"
|
10
10
|
|
11
11
|
content.gsub!(/![image][(.+)]/, '![image](https://hogehoge/attachmentId=\1)')
|
12
12
|
|
@@ -14,4 +14,6 @@
|
|
14
14
|
|
15
15
|
# => ![image](https://hogehoge/attachmentId=12345)
|
16
16
|
|
17
|
+
# ![image](https://hogehoge/attachmentId=22222)
|
18
|
+
|
17
19
|
```
|