Skip to content

Commit 4fe6def

Browse files
committed
Make the documentation consistent with the default limit
1 parent 3f961d7 commit 4fe6def

File tree

1 file changed

+1
-1
lines changed
  • html5ever/src/tree_builder

1 file changed

+1
-1
lines changed

html5ever/src/tree_builder/mod.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -134,7 +134,7 @@ pub struct TreeBuilderOpts {
134134
/// The maximum amount that the parser will process through the list
135135
/// of active formatting elements and the the stack of open elements.
136136
/// This is set to a finite number to prevent denial-of-service security
137-
/// vulnerabilities. 0 is treated as the default (currently 10); any other
137+
/// vulnerabilities. 0 is treated as the default (currently 20); any other
138138
/// value is used as-is.
139139
pub max_stack_depth: u8,
140140

0 commit comments

Comments
 (0)