Skip to content

Commit 5a94e83

Browse files
committed
add escape_html to readme
1 parent 352e1ca commit 5a94e83

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -117,6 +117,7 @@ in both file types (dynamic served and services), you can use all node/bun metho
117117
- `async data_load(path)`: reads the file in data directory and returns its content or null
118118
- `async data_load_watch(path, callback(content))`: executes callback first and on every change
119119
- `async data_save(path, content)`: writes the content to the file in data directory
120+
- `escape_html(str)`: escapes html special characters
120121

121122
## environment variables
122123
- `rtjscomp_path_data`: path to data directory, default is `./data`

0 commit comments

Comments
 (0)