Skip to content

Commit 46b5344

Browse files
kornelskiorium
authored andcommitted
Document esi setting inconsistency
1 parent 943ad33 commit 46b5344

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

src/rewriter/settings.rs

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -968,6 +968,8 @@ pub struct Settings<'handlers, 'selectors, H: HandlerTypes = LocalHandlerTypes>
968968
/// If enabled the rewriter enables support for [Edge Side Includes] tags, treating them as
969969
/// [void elements] and allowing them to be replaced with desired content.
970970
///
971+
/// `false` when constructed with `Settings::new()`.
972+
///
971973
/// [Edge Side Includes]: https://www.w3.org/TR/esi-lang/
972974
/// [void elements]: https://developer.mozilla.org/en-US/docs/Glossary/Void_element
973975
pub enable_esi_tags: bool,
@@ -1154,6 +1156,8 @@ pub struct RewriteStrSettings<'handlers, 'selectors, H: HandlerTypes = LocalHand
11541156
/// If enabled the rewriter enables support for [Edge Side Includes] tags, treating them as
11551157
/// [void elements] and allowing them to be replaced with desired content.
11561158
///
1159+
/// `true` when constructed with `RewriteStrSettings::new()`.
1160+
///
11571161
/// [Edge Side Includes]: https://www.w3.org/TR/esi-lang/
11581162
/// [void elements]: https://developer.mozilla.org/en-US/docs/Glossary/Void_element
11591163
pub enable_esi_tags: bool,

0 commit comments

Comments
 (0)