diff --git a/README.md b/README.md index 0cf1d9d..3f0ef0f 100644 --- a/README.md +++ b/README.md @@ -78,13 +78,6 @@ tags: new year, happy, test This project only has `python-dotenv` as dependencies for loading environment variable into python. -## Trouble & help - -If you have any troube you can contact me by email, matrix, or open an issue. If you are a beginner prefer using email, thanks. - -- Email: oxbian.noch@simplelogin.com -- Matrix: @oxbian:matrix.org - ## License This project is under the GPLV3 license. You can use, modify, as long as the copy is opensource under the GPLV3 too. diff --git a/generator.py b/generator.py index e55c949..bcc9282 100644 --- a/generator.py +++ b/generator.py @@ -179,8 +179,8 @@ if __name__ == "__main__": # Generating atom feed print(f"{color['green']}Generating RSS / Atom feed in {lang} {color['end']}") - generate_atom_feed(data, env_vars) + generate_atom_feed(sorted_data, env_vars) # Generating index print(f"{color['green']}Generating main page in {lang} :{color['end']}") - generate_index(data, env_vars) + generate_index(sorted_data, env_vars) diff --git a/markdown_parser.py b/markdown_parser.py index cb66476..dc61e98 100644 --- a/markdown_parser.py +++ b/markdown_parser.py @@ -11,12 +11,13 @@ def parse_line(line): html.escape(line) # Checking if there is strong or emphasized - while "*" in line: - line = line.replace("*", "", 1) - line = line.replace("*", "", 1) while "**" in line: line = line.replace("**", "", 1) line = line.replace("**", "", 1) + while "*" in line: + line = line.replace("*", "", 1) + line = line.replace("*", "", 1) + # Checking if there is image while "![" in line and "]" in line: