Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit cece2cb

Browse files
committed
Minor cosmetics
1 parent 358651b commit cece2cb

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

lib/core/common.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2483,8 +2483,10 @@ def extractTextTagContent(page):
24832483
"""
24842484

24852485
page = page or ""
2486+
24862487
if REFLECTED_VALUE_MARKER in page:
24872488
page = re.sub(r"(?si)[^\s>]*%s[^\s<]*" % REFLECTED_VALUE_MARKER, "", page)
2489+
24882490
return filter(None, (_.group('result').strip() for _ in re.finditer(TEXT_TAG_REGEX, page)))
24892491

24902492
def trimAlphaNum(value):

0 commit comments

Comments
 (0)