kenken999 commited on
Commit
11efc2b
·
1 Parent(s): 90d6c0f

lineからの文字を改行に変更

Browse files
controllers/autoscript CHANGED
@@ -1 +1 @@
1
- Subproject commit 5465018669d2bdcc18ce7e688613f0a2009da6ef
 
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', '<br>')
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 = {