mirror of https://gitlab.com/bashrc2/epicyon
Allow svg image posting
parent
1d0ccdecdb
commit
30d3a7be36
|
@ -380,7 +380,7 @@ def html_new_post(css_cache: {}, media_instance: bool, translate: {},
|
||||||
' <input type="file" id="attachpic" name="attachpic"'
|
' <input type="file" id="attachpic" name="attachpic"'
|
||||||
formats_string = get_media_formats()
|
formats_string = get_media_formats()
|
||||||
# remove svg as a permitted format
|
# remove svg as a permitted format
|
||||||
formats_string = formats_string.replace(', .svg', '').replace('.svg, ', '')
|
# formats_string = formats_string.replace(', .svg', '').replace('.svg, ', '')
|
||||||
new_post_image_section += \
|
new_post_image_section += \
|
||||||
' accept="' + formats_string + '">\n'
|
' accept="' + formats_string + '">\n'
|
||||||
new_post_image_section += \
|
new_post_image_section += \
|
||||||
|
|
Loading…
Reference in New Issue