Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
def show_entry(id):
entry = Entry.get(id)
entry['content'] = markdown(entry['content'])
return render_template('entry.html', **locals())
def edit_entry(id):
_entry = Entry.get(id)
post_title = _entry['title']
post_content = _entry['content']
slug = _entry['slug']
status = _entry['status']
return render_template('edit.html', **locals())