Skip to content

Commit

Permalink
GH-90: Avoid warning on python 3.11
Browse files Browse the repository at this point in the history
- Upgrade ubuntu machine.
  • Loading branch information
Dídac Coll committed Apr 21, 2023
1 parent 0801ae2 commit 76e333e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ on:
jobs:
build:

runs-on: ubuntu-18.04
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v2
Expand Down
2 changes: 1 addition & 1 deletion mdutils/tools/TableOfContents.py
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ def _loop_through(self, elements, tab: str = "", depth: int = 1) -> str:
+ "* ["
+ item
+ "](#"
+ re.sub("[^a-z0-9_\-]", "", item.lower().replace(" ", "-"))
+ re.sub("[^a-z0-9_-]", "", item.lower().replace(" ", "-"))
+ ")"
)

Expand Down

0 comments on commit 76e333e

Please sign in to comment.