Skip to content

Commit

Permalink
docs: Clean up headings
Browse files Browse the repository at this point in the history
  • Loading branch information
khalwat committed Jul 1, 2024
1 parent fc55eab commit 4523f24
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ $result = $sandboxView->renderTemplate();

If any tags, filters, or functions are used that are not allowed by the security policy, a `SecurityError` exception will be thrown.

### `WhitelistSecurityPolicy`
### WhitelistSecurityPolicy

The `WhitelistSecurityPolicy` is a `SecurityPolicy` that specifies the Twig tags, filters, and functions that **are** allowed.

Expand All @@ -79,7 +79,7 @@ $sandboxView = new SandboxView(['securityPolicy' => $securityPolicy]);
$result = $sandboxView->renderString("{{ dump() }}", []);
```

### `BlacklistSecurityPolicy`
### BlacklistSecurityPolicy

The `BlacklistSecurityPolicy` is a `SecurityPolicy` that specifies the Twig tags, filters, and functions that **are not** allowed.

Expand Down

0 comments on commit 4523f24

Please sign in to comment.