mirror of
https://github.com/zedeus/nitter
synced 2026-09-05 22:59:31 +00:00
Show Twitter link on search pages
This commit is contained in:
parent
e090dde1ea
commit
381a8a106c
3 changed files with 33 additions and 6 deletions
|
|
@ -110,7 +110,7 @@ proc cleanPos*(pos: string): string =
|
|||
pos.multiReplace((posPrefix, ""), (posSuffix, ""))
|
||||
|
||||
proc genPos*(pos: string): string =
|
||||
if pos.len == 0: return
|
||||
if pos.len == 0 or pos == "0": return pos
|
||||
result = posPrefix & pos
|
||||
if "A==" notin result:
|
||||
result &= posSuffix
|
||||
|
|
|
|||
Loading…
Reference in a new issue