Skip to content

Commit

Permalink
convert_jira hotfix
Browse files Browse the repository at this point in the history
  • Loading branch information
szn committed Apr 6, 2024
1 parent 100c372 commit 868ed70
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/md2cf/utils/confluencemd.py
Original file line number Diff line number Diff line change
Expand Up @@ -52,9 +52,9 @@ def __init__(
self.md_file_dir = os.path.dirname(md_file)
self.convert_jira = convert_jira

def rewrite_issues(self, html):
def rewrite_issues(self, html: str) -> str:
if not self.convert_jira:
return
return html
logger.debug("Replacing [ISSUE-KEY] with html links")
issues = []
for issue in ISSUE_PATTERN.finditer(html):
Expand Down

0 comments on commit 868ed70

Please sign in to comment.