summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJérémy Benoist <j0k3r@users.noreply.github.com>2017-09-13 14:27:35 +0200
committerFiveFilters.org <fivefilters@fivefilters.org>2017-09-13 14:27:35 +0200
commitaad93b73a7850f19f64b2f6fdee91396da5e5d05 (patch)
tree183c8d09af667c982aa58d50acdbe3726f607b7d
parente93be15ab03e678972598dc8a2c7c63059f91dab (diff)
downloadftr-site-config-aad93b73a7850f19f64b2f6fdee91396da5e5d05.tar.gz
ftr-site-config-aad93b73a7850f19f64b2f6fdee91396da5e5d05.zip
Globally replace amp-img tag (#336)
-rw-r--r--global.txt8
1 files changed, 7 insertions, 1 deletions
diff --git a/global.txt b/global.txt
index 71fbc93..8a0cda1 100644
--- a/global.txt
+++ b/global.txt
@@ -15,4 +15,10 @@ strip_image_src: doubleclick.net
#find_string: <script
#replace_string: <div style="display:none"
#find_string: </script>
-#replace_string: </div> \ No newline at end of file
+#replace_string: </div>
+
+# convert amp image tag to html image tag
+find_string: <amp-img
+replace_string: <img
+find_string: </amp-img>
+replace_string: