v2 - mm to pt, 특수문자 앞뒤 다른 경우 처리

This commit is contained in:
2025-05-12 18:24:35 +09:00
parent 59c5c7c927
commit ac655d58d3
20 changed files with 364 additions and 16 deletions

View File

@@ -42,6 +42,7 @@ class XMLScorer:
hyperlink_xpath = self.scoring_criteria["1"]["17"]["hyperlink_xpath"]
right_text = self.scoring_criteria["1"]["17"]["searchValue"].replace(" ","")
try:
# 하이퍼링크가 포함된 p태그 인지 확인
p_elements = root.xpath(is_hyperlink)
for p in p_elements: