Skip to content

Commit

Permalink
fix #698 (#709)
Browse files Browse the repository at this point in the history
* fix #698

* [autofix.ci] apply automated fixes

---------

Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
  • Loading branch information
mhils and autofix-ci[bot] authored Jul 10, 2024
1 parent fd1c2ae commit 59efaca
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
5 changes: 5 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,11 @@

<!-- ✨ You do not need to add a pull request reference or an author, this will be added automatically by CI. ✨ -->

## Unreleased: pdoc next

- Fix a bug where hyperlinks would get parsed as docstring references.
([#709](https://github.com/mitmproxy/pdoc/pull/709), @mhils)

## 2024-06-25: pdoc 14.5.1

- **[CVE-2024-38526](https://github.com/mitmproxy/pdoc/security/advisories/GHSA-5vgj-ggm4-fg62):** Documentation generated with math mode (`pdoc --math`) does not include scripts
Expand Down
2 changes: 1 addition & 1 deletion pdoc/render_helpers.py
Original file line number Diff line number Diff line change
Expand Up @@ -358,7 +358,7 @@ def linkify_repl(m: re.Match):
re.sub(
r"""
# Part 1: foo.bar or foo.bar() (without backticks)
(?<![/=?#&]) # heuristic: not part of a URL
(?<![/=?#&\.]) # heuristic: not part of a URL
# First part of the identifier (e.g. "foo") - this is optional for relative references.
(?:
\b
Expand Down

0 comments on commit 59efaca

Please sign in to comment.