2025-03-20 14:54:46 +02:00

24 lines
483 B
INI

[markup.libreoffice]
ENABLED = true
FILE_EXTENSIONS = .odt,.ods,.odg,.docx,.ppt
RENDER_COMMAND = /usr/local/bin/gitea_render_libreoffice.sh
IS_INPUT_FILE = true
NEED_POSTPROCESS = false
[markup.sanitizer.libreoffice.1]
ALLOW_DATA_URI_IMAGES = true
ELEMENT = img
ALLOW_ATTR = class
REGEXP =
[markup.sanitizer.libreoffice.2]
ALLOW_DATA_URI_IMAGES = true
ELEMENT = src
ALLOW_ATTR = class
REGEXP =
[markup.sanitizer.libreoffice.3]
ELEMENT = div
ALLOW_ATTR = class
REGEXP =