diff --git a/docs/changelog.rst b/docs/changelog.rst index 126b7de15..12e1b61d9 100644 --- a/docs/changelog.rst +++ b/docs/changelog.rst @@ -51,7 +51,8 @@ Fixes: be written to a file. * :doc:`/plugins/duplicates`: Spurious reports are now avoided for tracks with missing values (e.g., no MBIDs). Thanks to Pedro Silva. -* Fix default :ref:`replace` value so leading whitespace are also removed. +* The default :ref:`replace` sanitation options now remove leading whitespace + by default. Thanks to brilnius. * :doc:`/plugins/importfeeds`: Fix crash when importing albums containing ``/`` with the ``m3u_multi`` format. diff --git a/docs/reference/config.rst b/docs/reference/config.rst index 79e0c5da3..f98c03759 100644 --- a/docs/reference/config.rst +++ b/docs/reference/config.rst @@ -110,6 +110,7 @@ unexpected behavior on all popular platforms:: '[<>:"\?\*\|]': _ '\.$': _ '\s+$': '' + '^\s+': '' These substitutions remove forward and back slashes, leading dots, and control characters—all of which is a good idea on any OS. The fourth line