From 87a490d4564ec6afa33a999b9c21741c9a877687 Mon Sep 17 00:00:00 2001 From: Richard Hansen Date: Sat, 6 Nov 2021 01:05:55 -0400 Subject: [PATCH] docs: `import` hook `fileEnding` has leading period --- doc/api/hooks_server-side.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/doc/api/hooks_server-side.md b/doc/api/hooks_server-side.md index 02c7e2fe6..c99ea58aa 100644 --- a/doc/api/hooks_server-side.md +++ b/doc/api/hooks_server-side.md @@ -818,7 +818,8 @@ function elected to convert the document to HTML. Context properties: * `destFile`: The destination HTML filename. -* `fileEnding`: The lower-cased filename extension from `srcFile`. +* `fileEnding`: The lower-cased filename extension from `srcFile` **with leading + period** (examples: `'.docx'`, `'.html'`, `'.etherpad'`). * `padId`: The identifier of the destination pad. * `srcFile`: The document to convert.