Skip to content
Commit fe14be9e authored by Sergey Biryukov's avatar Sergey Biryukov
Browse files

Formatting: In `sanitize_title_with_dashes()`, convert `&nbsp`, `&ndash`, and...

Formatting: In `sanitize_title_with_dashes()`, convert `&nbsp`, `&ndash`, and `&mdash` HTML entities to hyphens on save.

Props polevaultweb for initial patch.
Fixes #31790.
Built from https://develop.svn.wordpress.org/trunk@36775


git-svn-id: https://core.svn.wordpress.org/trunk@36742 1a063a9b-81f0-0310-95a4-ce76da25c4cd
parent cd24cd9a
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment