lineからの文字を改行に変更
Browse files- controllers/autoscript +1 -1
- mysite/interpreter/process.py +1 -1
controllers/autoscript
CHANGED
@@ -1 +1 @@
|
|
1 |
-
Subproject commit
|
|
|
1 |
+
Subproject commit 30fe13a605dc724767803d895c12fab4f2f81132
|
mysite/interpreter/process.py
CHANGED
@@ -25,7 +25,7 @@ def set_environment_variables():
|
|
25 |
|
26 |
def convert_newlines_to_google_chat_format(text):
|
27 |
# 改行文字を <br> タグに置き換える
|
28 |
-
return text.replace('\n', '
|
29 |
|
30 |
def send_google_chat_card(webhook_url, title, subtitle, link_text, link_url):
|
31 |
headers = {
|
|
|
25 |
|
26 |
def convert_newlines_to_google_chat_format(text):
|
27 |
# 改行文字を <br> タグに置き換える
|
28 |
+
return text.replace('\n', '\\\n')
|
29 |
|
30 |
def send_google_chat_card(webhook_url, title, subtitle, link_text, link_url):
|
31 |
headers = {
|