Update app.py
Browse files
app.py
CHANGED
@@ -335,12 +335,12 @@ def load_html(inp,title,user_name="None"):
|
|
335 |
#print(f'prom:: {prom}')
|
336 |
ht+=f"""<div class="div_box">"""
|
337 |
if blog:
|
338 |
-
ht+=f"""<div class="bhead"><div><h1>$btitle</h1></div><div>$user_name</div></div>"""
|
339 |
-
ht+=f"""<pre class="bpost">{blog}</pre>"""
|
340 |
if comm:
|
341 |
-
ht+=f"""<pre class="resp1">{comm}</pre>"""
|
342 |
if repl:
|
343 |
-
ht+=f"""<pre class="resp2">{repl}</pre>"""
|
344 |
ht+=f"""</div>"""
|
345 |
with open('index.html','r') as h:
|
346 |
html=h.read()
|
|
|
335 |
#print(f'prom:: {prom}')
|
336 |
ht+=f"""<div class="div_box">"""
|
337 |
if blog:
|
338 |
+
#ht+=f"""<div class="bhead"><div><h1>$btitle</h1></div><div>$user_name</div></div>"""
|
339 |
+
ht+=f"""<pre class="bpost"><div class="bhead"><h2>$btitle</h2><br><h5>$buser_name</h5><div>{blog}</pre>"""
|
340 |
if comm:
|
341 |
+
ht+=f"""<pre class="resp1"><div class="bhead"><div>{comm}</pre>"""
|
342 |
if repl:
|
343 |
+
ht+=f"""<pre class="resp2"><div class="bhead"><div>{repl}</pre>"""
|
344 |
ht+=f"""</div>"""
|
345 |
with open('index.html','r') as h:
|
346 |
html=h.read()
|