summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--washingtonpost.com.txt1
1 files changed, 1 insertions, 0 deletions
diff --git a/washingtonpost.com.txt b/washingtonpost.com.txt
index d60d696..c29af00 100644
--- a/washingtonpost.com.txt
+++ b/washingtonpost.com.txt
@@ -28,6 +28,7 @@ strip_id_or_class: module
# Change gJQAwdJG4U_story.html to gJQAwdJG4U_print.html
single_page_link: concat(substring-before(//link[@rel="canonical"]/@href, "_story.html"), "_print.html")
+if_page_contains: //link[@rel="canonical" and contains(@href, '_story.html')]
# [OLD] Change gJQAwdJG4U_story.html to gJQAwdJG4U_story_print.html
#single_page_link: concat(substring-before(//link[@rel="canonical"]/@href, "_story.html"), "_story_print.html")