From 50cdaf61974297e7f11d213757e9fefe226f84d5 Mon Sep 17 00:00:00 2001 From: Matthieu Lempereur Date: Tue, 27 Dec 2022 09:39:52 +0100 Subject: [PATCH] fix tilde not rendered in filesystem doc --- components/filesystem.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/components/filesystem.rst b/components/filesystem.rst index cf6166d78a5..3b6c92ad6fa 100644 --- a/components/filesystem.rst +++ b/components/filesystem.rst @@ -352,7 +352,7 @@ following rules iteratively until no further processing can be done: - root paths ("/" and "C:/") always terminate with a slash; - non-root paths never terminate with a slash; - schemes (such as "phar://") are kept; -- replace "~" with the user's home directory. +- replace ``~`` with the user's home directory. You can canonicalize a path with :method:`Symfony\\Component\\Filesystem\\Path::canonicalize`::