diff options
author | Hoàng Đức Hiếu <hdhoang@zahe.me> | 2015-05-30 12:43:40 +0700 |
---|---|---|
committer | Hoàng Đức Hiếu <hdhoang@zahe.me> | 2015-05-30 12:43:40 +0700 |
commit | 6674d78d199e3bbf2ddc9ff71298a11093afe064 (patch) | |
tree | f0cc30e99043daece66bb29204fc030c606ac043 | |
parent | 27d31dc052d53cecdb1d68158c03fbaf7654a37d (diff) |
enhancer: extract xkcd alt text
-rw-r--r-- | articleenhancer/regexenhancers.json | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/articleenhancer/regexenhancers.json b/articleenhancer/regexenhancers.json index c1c4d1ef0..d6a738768 100644 --- a/articleenhancer/regexenhancers.json +++ b/articleenhancer/regexenhancers.json @@ -45,5 +45,10 @@ "%-\\d+x\\d+%": "", "%(width|height)=\"\\d+\"%" : "" } + }, + "xkcd.com": { + "%xkcd.com/\\d+/%": { + "%alt=\"(.+)\" */>%": "/><br/>$1" + } } } |