Omnibus commited on
Commit
7a71d03
·
1 Parent(s): 49f4add

Update dl.py

Browse files
Files changed (1) hide show
  1. dl.py +1 -1
dl.py CHANGED
@@ -123,7 +123,7 @@ def show_f_cont(repo,name,file,token):
123
  html_text = '<html>\n<body>\n'
124
 
125
  #for line in text.split('\n'):
126
- html_text += f'<span style="white-space: pre-line">{text}</span>\n'
127
 
128
  html_text += '</body>\n</html>'
129
  return(html_text,r.text)
 
123
  html_text = '<html>\n<body>\n'
124
 
125
  #for line in text.split('\n'):
126
+ html_text += f'<pre>{text}</pre>\n'
127
 
128
  html_text += '</body>\n</html>'
129
  return(html_text,r.text)