mirror of
https://github.com/GSA/notifications-admin.git
synced 2026-06-03 13:00:03 -04:00
Add encoding to the documentation file.
This commit is contained in:
@@ -44,7 +44,7 @@ def terms():
|
||||
@main.route('/documentation')
|
||||
def documentation():
|
||||
curr_dir = os.path.dirname(os.path.realpath(__file__))
|
||||
with open(os.path.join(curr_dir, '../../../docs/index.md')) as source:
|
||||
with open(os.path.join(curr_dir, '../../../docs/index.md'), encoding='utf-8') as source:
|
||||
return render_template(
|
||||
'views/documentation.html',
|
||||
body=Markup(markdown.markdown(
|
||||
|
||||
Reference in New Issue
Block a user