diff --git a/css/html_4chan_style.css b/css/html_4chan_style.css index 99ac6845..cef9f6eb 100644 --- a/css/html_4chan_style.css +++ b/css/html_4chan_style.css @@ -98,7 +98,7 @@ margin-right: 40px !important; } -#parent #container .message { +#parent #container .message_4chan { color: black; border: none; } \ No newline at end of file diff --git a/modules/html_generator.py b/modules/html_generator.py index 422beb30..eb1da374 100644 --- a/modules/html_generator.py +++ b/modules/html_generator.py @@ -100,7 +100,7 @@ def process_post(post, c): src = re.sub('>', '>', src) src = re.sub('(>>[0-9]*)', '\\1', src) src = re.sub('\n', '
\n', src) - src = f'
{src}\n' + src = f'
{src}\n' src = f'Anonymous No.{number}\n{src}' return src @@ -141,7 +141,7 @@ def generate_4chan_html(f): output = output.split('\n') for i in range(len(output)): output[i] = re.sub(r'^(>(.*?)(
|))', r'\1', output[i]) - output[i] = re.sub(r'^
(>(.*?)(
|))', r'
\1', output[i]) + output[i] = re.sub(r'^
(>(.*?)(
|))', r'
\1', output[i]) output = '\n'.join(output) return output