Skip to content

Commit

Permalink
#2617 Added in master
Browse files Browse the repository at this point in the history
  • Loading branch information
MARQAS committed Jan 16, 2019
1 parent 6dac054 commit 03b9afc
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions templates/features.php
Original file line number Diff line number Diff line change
Expand Up @@ -1461,8 +1461,6 @@ function ampforwp_the_content_filter( $content ) {
$content = preg_replace('/readability=[^>]*/', '', $content);
// removing color from span tag
$content = preg_replace('/<span(.*?)(color=".*?")(.*?)>/', '<span$1$3>', $content);
// removing alt from a tag
$content = preg_replace('/<a(.*?)(alt=".*?")(.*?)>/', '<a$1$3>', $content);
// removing sl-processed attribute
$content = preg_replace('/(<[^>]+) sl-processed=".*?"/', '$1', $content);
// ga-on
Expand Down

0 comments on commit 03b9afc

Please sign in to comment.