Go to file
Scott Taylor 4f814ec9ae Protect newlines inside of `CDATA`. This was breaking things, notably inline JS that used comments for HTML standards compat.
* Tokenize newlines in `WP_Embed::autoembed()` before running `->autoembed_callback()`
* Tokenize newlines with placeholders in `wpautop()` 
* Introduce `wp_html_split()` to DRY the RegEx from `wp_replace_in_html_tags()` and `do_shortcodes_in_html_tags()`

Adds unit tests.

Props miqrogroove, kitchin, azaozz.
Fixes #33106.


git-svn-id: https://develop.svn.wordpress.org/trunk@33469 602fd350-edb4-49c9-b593-d223f7449a82
2015-07-28 23:02:04 +00:00
src Protect newlines inside of `CDATA`. This was breaking things, notably inline JS that used comments for HTML standards compat. 2015-07-28 23:02:04 +00:00
tests Protect newlines inside of `CDATA`. This was breaking things, notably inline JS that used comments for HTML standards compat. 2015-07-28 23:02:04 +00:00
tools/i18n i18n tools: Use https for `msgid-bugs-address` URLs. 2015-07-27 19:37:13 +00:00
.editorconfig
.gitignore
.jshintrc
.travis.yml Switch explicitly from `nightly` to `7.0` for Travis, for clarity. 2015-07-27 15:15:34 +00:00
Gruntfile.js Editor: word count: exclude more characters 2015-07-16 09:44:43 +00:00
package.json Remove grunt-autoprefixer in favor of grunt-postcss with autoprefixer 2015-07-08 19:53:22 +00:00
phpunit.xml.dist
wp-cli.yml
wp-config-sample.php
wp-tests-config-sample.php