Skip to content

Commit aa6edc3

Browse files
authored
Document missing inline implementation. Fixed #1152 (#1156)
1 parent 73da7e9 commit aa6edc3

2 files changed

Lines changed: 8 additions & 5 deletions

File tree

changelog/1152.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
- Update documentation to clarify that include inline is currently not implemented in Smarty v5 [#1152](https://github.com/smarty-php/smarty/issues/1152)

docs/designers/language-builtin-functions/language-function-include.md

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -47,11 +47,13 @@ available within the included template.
4747

4848
## Option Flags
4949

50-
| Name | Description |
51-
|---------|--------------------------------------------------------------------------------------|
52-
| nocache | Disables caching of this subtemplate |
53-
| caching | Enable caching of this subtemplate |
54-
| inline | If set, merge the compile-code of the subtemplate into the compiled calling template |
50+
| Name | Description |
51+
|-----------|--------------------------------------------------------------------------------------|
52+
| nocache | Disables caching of this subtemplate |
53+
| caching | Enable caching of this subtemplate |
54+
| inline \* | If set, merge the compile-code of the subtemplate into the compiled calling template |
55+
56+
\* The `inline` option flag is currently not implemented in Smarty v5. Using it will not trigger an error, however.
5557

5658
## Examples
5759
```smarty

0 commit comments

Comments
 (0)