You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/content/doc/advanced/config-cheat-sheet.en-us.md
+2-2Lines changed: 2 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -1003,13 +1003,13 @@ IS_INPUT_FILE = false
1003
1003
command. Multiple extensions needs a comma as splitter.
1004
1004
- RENDER\_COMMAND: External command to render all matching extensions.
1005
1005
- IS\_INPUT\_FILE: **false** Input is not a standard input but a file param followed `RENDER_COMMAND`.
1006
+
- DISABLE_SANITIZE: **false** Don't filter html tags and attributes if true. Don't change this to true except you what that means.
1006
1007
1007
1008
Two special environment variables are passed to the render command:
1008
1009
-`GITEA_PREFIX_SRC`, which contains the current URL prefix in the `src` path tree. To be used as prefix for links.
1009
1010
-`GITEA_PREFIX_RAW`, which contains the current URL prefix in the `raw` path tree. To be used as prefix for image paths.
1010
1011
1011
-
1012
-
Gitea supports customizing the sanitization policy for rendered HTML. The example below will support KaTeX output from pandoc.
1012
+
If `DISABLE_SANITIZE` is false, Gitea supports customizing the sanitization policy for rendered HTML. The example below will support KaTeX output from pandoc.
0 commit comments