We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent aa5c1a8 commit 3a9753eCopy full SHA for 3a9753e
robotcode/language_server/robotframework/diagnostics/library_doc.py
@@ -483,10 +483,10 @@ def source_or_origin(self) -> Optional[str]:
483
def _process_inline_links(self, text: str) -> str:
484
headers = [v.group(2) for v in self._headers.finditer(text)]
485
486
- def repl(m: re.Match[str]) -> str:
+ def repl(m: re.Match) -> str: # type: ignore
487
if m.group(2) in headers:
488
return f"[#{str(m.group(2)).replace(' ', '-')}|{str(m.group(2))}]"
489
- return m.group(0)
+ return str(m.group(0))
490
491
return str(self._inline_link.sub(repl, text))
492
0 commit comments