edit test line
All checks were successful
Modelari site build and deploy / Build-site (push) Successful in 14s
All checks were successful
Modelari site build and deploy / Build-site (push) Successful in 14s
This commit is contained in:
2
edit.py
2
edit.py
@@ -85,7 +85,7 @@ def submit_content():
|
||||
return
|
||||
|
||||
full_entry = f"{new_entry}\n{image_tag}" if image_tag else new_entry
|
||||
new_html = html_content.replace(HTML_INSERT_TAG, f"{HTML_INSERT_TAG}\n{full_entry}")
|
||||
new_html = html_content.replace(HTML_INSERT_TAG, f"{HTML_INSERT_TAG}\n{full_entry}\n<hr>")
|
||||
|
||||
with open(html_file_path, 'w', encoding='utf-8') as f:
|
||||
f.write(new_html)
|
||||
|
||||
Reference in New Issue
Block a user