Switch to using hyperscript to initialise tailwind elements(select) and graphs(Plotly), this removes script tags and ids
This commit is contained in:
5
app.py
5
app.py
@@ -439,6 +439,11 @@ def get_first_element_from_list_with_matching_attribute(list, attribute, value):
|
||||
return None
|
||||
|
||||
|
||||
@app.template_filter('replace_double_quote_strings_with_single_quote')
|
||||
def replace_double_quote_strings_with_single_quote(str):
|
||||
return str.replace('"', "'")
|
||||
|
||||
|
||||
@ app.context_processor
|
||||
def my_utility_processor():
|
||||
|
||||
|
||||
Reference in New Issue
Block a user