From 0883b1594ee86a701b76c273e645bb08f89aa061 Mon Sep 17 00:00:00 2001 From: Chi Date: Sun, 29 May 2022 08:46:56 +0500 Subject: [PATCH] Clean-up documentation --- docs/cheat-sheet.md | 2 +- docs/migration-to-3.x.md | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/docs/cheat-sheet.md b/docs/cheat-sheet.md index 8c4ca30..18edea1 100644 --- a/docs/cheat-sheet.md +++ b/docs/cheat-sheet.md @@ -223,7 +223,7 @@ images when used in an `` tag. ## Format size ```twig -{{ 12345|format_size() }} +{{ 12345|format_size }} ``` ## Truncate diff --git a/docs/migration-to-3.x.md b/docs/migration-to-3.x.md index 9195ce0..b2e58aa 100644 --- a/docs/migration-to-3.x.md +++ b/docs/migration-to-3.x.md @@ -38,14 +38,14 @@ function preprocess_page(array &$variables): void { element. This may break some CSS rules. Before: -```HTML +```html
Block content
``` After: -```HTML +```html
Block content