@@ -259,14 +259,14 @@ This template produces something along these lines:
259259The template system contains several functions that can be used to further process and format
260260the messages. Here's a list of some of them:
261261
262- | Name | Parameters | Available | Usage |
263- | ---------------- | ----------- | --------- | ----------------------------------------------------------------------------- |
264- | ` AppUrl ` | - | Any | Gitea's URL |
265- | ` AppName ` | - | Any | Set from ` app.ini ` , usually "Gitea" |
266- | ` AppDomain ` | - | Any | Gitea's host name |
267- | ` EllipsisString ` | string, int | Any | Truncates a string to the specified length; adds ellipsis as needed |
268- | ` SanitizeHTML ` | string | Body only | Sanitizes text by removing any dangerous HTML tags from it. |
269- | ` SafeHTML ` | string | Body only | Takes the input as HTML; can be used for ` .ReviewComments.RenderedContent ` . |
262+ | Name | Parameters | Available | Usage |
263+ | ---------------- | ----------- | --------- | ------------------------------------------------------------------- |
264+ | ` AppUrl ` | - | Any | Gitea's URL |
265+ | ` AppName ` | - | Any | Set from ` app.ini ` , usually "Gitea" |
266+ | ` AppDomain ` | - | Any | Gitea's host name |
267+ | ` EllipsisString ` | string, int | Any | Truncates a string to the specified length; adds ellipsis as needed |
268+ | ` SanitizeHTML ` | string | Body only | Sanitizes text by removing any dangerous HTML tags from it |
269+ | ` SafeHTML ` | string | Body only | Takes the input as HTML, can be used for outputing raw HTML content |
270270
271271These are _ functions_ , not metadata, so they have to be used:
272272
0 commit comments