Skip to content

Commit

Permalink
#2617 No need for it anymore
Browse files Browse the repository at this point in the history
  • Loading branch information
MARQAS committed Oct 13, 2018
1 parent f8151e5 commit 07d3fae
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 @@ -683,8 +683,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 07d3fae

Please sign in to comment.