Handle Twitter URLs specially
This commit is contained in:
parent
f557f8e1c3
commit
23ed23b9d9
|
@ -27,6 +27,8 @@ sed -E 's,\<-|←,<meta>answer</meta>,' |
|
|||
# Handle someone quoting another person
|
||||
sed -E 's,\<\;[+@ ]?([^& :]+)\>\;,<meta>quoting \1</meta>,g' |
|
||||
sed -E 's, \* ([^ ]+),<meta>quoting action \1</meta>,g' |
|
||||
# Handle Twitter URLs
|
||||
sed -E 's,https?://(mobile\.|www\.)?twitter[^ )>]+,<meta> twitter URL</meta>,g' |
|
||||
# Handle URLs
|
||||
sed -E 's,(https?|gopher)://[^ )>]+,<meta> \1 URL</meta>,g' |
|
||||
# Handle 'fancy' quotes
|
||||
|
|
Loading…
Reference in New Issue