diff --git a/blog.py b/blog.py
index eb8766076..fde6de7c5 100644
--- a/blog.py
+++ b/blog.py
@@ -313,7 +313,7 @@ def _html_blog_post_content(debug: bool, session, authorized: bool,
if citations_str:
citations_str = '
' + translate['Citations'] + \
':
' + \
- '\n'
+ '\n' + citations_str + '\n'
blog_str += '
\n' + citations_str
diff --git a/epicyon-profile.css b/epicyon-profile.css
index b3a3ab8a3..f2c310edf 100644
--- a/epicyon-profile.css
+++ b/epicyon-profile.css
@@ -256,6 +256,10 @@ code {
line-height: var(--code-spacing);
}
+ul.md_list {
+ color: var(--main-fg-color);
+}
+
audio {
width: 100%;
}
diff --git a/markdown.py b/markdown.py
index d8b124bac..192a9e7a7 100644
--- a/markdown.py
+++ b/markdown.py
@@ -68,13 +68,13 @@ def _markdown_emphasis_html(markdown: str) -> str:
'*)': ')',
'*,': ',',
'*\n': '\n',
- ' _': ' ',
- '_.': '.',
- '_:': ':',
- '_;': ';',
- '_,': ',',
- '_\n': '\n',
+ ' _': ' ',
+ '_ ': ' ',
+ '_.': '.',
+ '_:': ':',
+ '_;': ';',
+ '_,': ',',
+ '_\n': '\n',
' `': ' ',
'`.': '.',
'`:': ':',
@@ -100,14 +100,14 @@ def _markdown_emphasis_html(markdown: str) -> str:
elif section_text.startswith('*'):
section_text = section_text[1:] + ''
elif section_text.startswith('_'):
- section_text = section_text[1:] + ''
+ section_text = section_text[1:] + ''
if section_text.endswith('**'):
section_text = section_text[:len(section_text) - 2] + ''
elif section_text.endswith('*'):
section_text = section_text[:len(section_text) - 1] + '
'
elif section_text.endswith('_'):
- section_text = section_text[:len(section_text) - 1] + ''
+ section_text = section_text[:len(section_text) - 1] + ''
if section_text.strip():
markdown += section_text
@@ -259,7 +259,8 @@ def _markdown_replace_bullet_points(markdown: str) -> str:
for index in range(start_line, line_ctr):
line_text = lines[index].replace(bullet_matched, '', 1)
if index == start_line:
- lines[index] = '\n- ' + line_text + '
'
+ lines[index] = \
+ '\n- ' + line_text + '
'
elif index == line_ctr - 1:
lines[index] = '- ' + line_text + '
\n
'
else:
diff --git a/tests.py b/tests.py
index c9278b735..5f987d6a2 100644
--- a/tests.py
+++ b/tests.py
@@ -5736,7 +5736,8 @@ def _test_markdown_to_html():
'And some other text.'
result = markdown_to_html(markdown)
expected = \
- 'This is a list of points:
\n