mirror of https://gitlab.com/bashrc2/epicyon
Only one truncation
parent
58ba1146a4
commit
460b8bd938
|
@ -793,6 +793,7 @@ def addHtmlTags(baseDir: str, httpPrefix: str,
|
||||||
for ending in hashTagEndings:
|
for ending in hashTagEndings:
|
||||||
if wordStr.endswith(ending):
|
if wordStr.endswith(ending):
|
||||||
wordStr = wordStr[:len(wordStr) - 1]
|
wordStr = wordStr[:len(wordStr) - 1]
|
||||||
|
break
|
||||||
|
|
||||||
if _addHashTags(wordStr, httpPrefix, originalDomain,
|
if _addHashTags(wordStr, httpPrefix, originalDomain,
|
||||||
replaceHashTags, hashtags):
|
replaceHashTags, hashtags):
|
||||||
|
|
Loading…
Reference in New Issue