Go to file
Gary Pendergast 8298f9dad0 Clean up stray `<p>` tags added by `wpautop()` inside block level tags.
`autop()` can sometimes get confused and not clean up stray `<p>` or `</p>` tags inside block level elements, which produces sub-optimal HTML. While browsers can generally handle it, there's no need to make things harder for them if we don't have to.

Props pento, ayubi, pbearne, jond, azaozz, 1994rstefan, dionysous, MikeHansenMe, jorbin, miqrogroove, niallkennedy.
Fixes #27350.




git-svn-id: https://develop.svn.wordpress.org/trunk@45585 602fd350-edb4-49c9-b593-d223f7449a82
2019-07-02 01:30:15 +00:00
src Clean up stray `<p>` tags added by `wpautop()` inside block level tags. 2019-07-02 01:30:15 +00:00
tests Clean up stray `<p>` tags added by `wpautop()` inside block level tags. 2019-07-02 01:30:15 +00:00
tools Build/Test Tools: Make the local env scripts executable. 2019-06-27 12:05:44 +00:00
.editorconfig
.gitignore Build/Test Tools: Ignore generated RTL CSS files from Git version control. 2019-05-25 12:29:36 +00:00
.jshintrc Build tools: Fix the `travis:js` build. 2018-12-24 13:53:11 +00:00
.npmrc
.nvmrc Once upon a midnight dreary, while I coded, weak and weary, 2018-05-23 10:04:22 +00:00
.travis.yml Build/Test Tools: Add the e2e tests setup. 2019-06-27 11:26:58 +00:00
Gruntfile.js Privacy tools: Organize privacy functions into logical files and classes. 2019-05-26 20:49:04 +00:00
appveyor.yml Build/Test Tools: Remove the dependency on a globally installed Grunt. 2019-05-26 19:34:24 +00:00
composer.json Build Tools: Upgrade WPCS to 2.0.0. 2019-01-18 02:14:24 +00:00
composer.lock Build Tools: Upgrade WPCS to 2.0.0. 2019-01-18 02:14:24 +00:00
jsdoc.conf.json
package-lock.json Build/Test Tools: Add the e2e tests setup. 2019-06-27 11:26:58 +00:00
package.json Build/Test Tools: Add the e2e tests setup. 2019-06-27 11:26:58 +00:00
phpcs.xml.dist Build tools, WPCS: disable line ending check when running `phpcs` but fix them to `\n` whit `phpcfb`. Fixes (erroneous) reports on Windows about improper line endings in all files. They are managed directly by Git or SVN. 2019-05-28 00:25:42 +00:00
phpunit.xml.dist Coding Standards: Replace spaced indentation sections of `phpunit.xml.dist`, `multisite.xml`, and `build.xml` with tabs. 2019-01-28 17:20:06 +00:00
webpack.config.js Build tools: Allow building WordPress to `src`. 2018-12-24 13:28:22 +00:00
wp-cli.yml Build/Tests: Default to running unit tests from `src`. 2019-01-09 10:09:02 +00:00
wp-config-sample.php General: Replace "Happy blogging" with "Happy publishing". 2019-01-08 04:29:06 +00:00
wp-tests-config-sample.php Tests: Revert [44509]. 2019-01-09 11:13:03 +00:00