Replace - with _ in hashtags.
This commit is contained in:
parent
5f078b4e54
commit
46b863fa36
@ -324,7 +324,7 @@
|
||||
;; Landmark.
|
||||
"?:[{nearbydistance} miles from {nearbylandmark} ]"
|
||||
;; Hashtag based on registration.
|
||||
"?:[#{registration} |#{militaryregistration} ]"
|
||||
"?:[#{registration|hashtag} |#{militaryregistration|hashtag} ]"
|
||||
;; tar1090 link.
|
||||
"https://tar1090.adsbexchange.com/?icao={icao}&zoom=13")]))
|
||||
|
||||
|
@ -63,7 +63,8 @@
|
||||
(if (re-find #"^[FHLMNRSX](\b|[A-Z0-9])" s)
|
||||
(str "an " s)
|
||||
(str "a " s))
|
||||
(str "an " s)))})
|
||||
(str "an " s)))
|
||||
:hashtag #(string-replace % #"-" "_")})
|
||||
|
||||
|
||||
(defn apply-filter [s filter-name]
|
||||
|
Loading…
Reference in New Issue
Block a user