From 699d7a77b9d4120dfb75f271cb924b0e05a2fcaa Mon Sep 17 00:00:00 2001 From: Jules Laplace Date: Wed, 17 Apr 2019 20:02:42 +0200 Subject: basic mobile css --- megapixels/app/site/parser.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'megapixels/app/site') diff --git a/megapixels/app/site/parser.py b/megapixels/app/site/parser.py index 1489d056..92d950f8 100644 --- a/megapixels/app/site/parser.py +++ b/megapixels/app/site/parser.py @@ -260,7 +260,8 @@ def format_footnotes(footnotes, s3_path): continue key, note = footnote.split(': ', 1) footnote_index_lookup[key] = index - footnote_list.append('{}_BACKLINKS'.format(key, key) + markdown(note)) + note_markup = markdown(note).replace('

', '', 1).replace('

', '', 1) + footnote_list.append('{} {}_BACKLINKS'.format(index, key, key) + note_markup) index += 1 footnote_txt = '
' -- cgit v1.2.3-70-g09d2