Skip to content

Commit b4656d0

Browse files
ADCP-75: Added documentation for sanitize formulas to text
1 parent babb381 commit b4656d0

1 file changed

Lines changed: 13 additions & 1 deletion

File tree

content/en/docs/marketplace/platform-supported-content/modules/excel-exporter.md

Lines changed: 13 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,19 @@ On the template details page, you can define the template with the following ite
5555
* **Upload existing excel file**: uploads an Excel file which is used as a template
5656

5757
{{% alert color="info" %}}If you use an uploaded Excel file as a template, the names of the sheets and columns in your template will be used. However, the background color in your template will be overruled by the **Background color** (including **none**) specified in the applicable style. {{% /alert %}}
58-
58+
59+
* **Sanitize formulas to text**: When enabled, the module automatically sanitizes any string values that begin with potentially dangerous characters:
60+
- `=` (equals)
61+
- `+` (plus)
62+
- `-` (minus/hyphen)
63+
- `@` (at symbol)
64+
65+
{{% alert color="info" %}} When sanitization is enabled, the exporter prepends a apostrophe (`'`) to any string value starting with these
66+
characters. This forces Excel and CSV applications to treat the value as literal text rather than a formula.
67+
Formula sanitization is **disabled by default** for backward compatibility.
68+
Only enable this feature if your exported data may contain user-generated content.
69+
This setting applies to both Excel (.xlsx, .xls, .xlsm) and CSV exports. {{% /alert %}}
70+
5971
* **Worksheets**: contains the following items that you can use to define sheets in an exported document:
6072
* **New**: opens a new [sheet details page](#sheet-details) to create a sheet
6173
* **Edit**: opens the sheet details page for the selected sheet where you can make changes

0 commit comments

Comments
 (0)