Skip to content

Commit

Permalink
fix build issues
Browse files Browse the repository at this point in the history
  • Loading branch information
shyamd committed Jan 14, 2025
1 parent 021507d commit a1b3a5f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/testing.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ jobs:
matrix:
os: [ubuntu-latest]
python-version: [3.9, '3.10', 3.11, 3.12]
pandoc-version: [2.9.2, 2.14.0.3]
pandoc-version: [2.14.0.3, 3.6.2]
runs-on: ${{ matrix.os }}

steps:
Expand Down
2 changes: 1 addition & 1 deletion src/mkdocs_bibtex/registry.py
Original file line number Diff line number Diff line change
Expand Up @@ -164,7 +164,7 @@ def _process_with_pandoc(citation_blocks: list[CitationBlock], bib_data: str, cs
reference_cache = {}

# Pattern for format with .csl-left-margin and .csl-right-inline
pattern1 = r"::: \{#ref-(?P<key>[^\s]+) .csl-entry\}\n\[.*?\]\{\.csl-left-margin\}\[(?P<citation>.*?)\]\{\.csl-right-inline\}"
pattern1 = r"::: \{#ref-(?P<key>[^\s]+) .csl-entry\}\n\[.*?\]\{\.csl-left-margin\}\[(?P<citation>.*?)\]\{\.csl-right-inline\}" # noqa: E501

# Pattern for simple reference format
pattern2 = r"::: \{#ref-(?P<key>[^\s]+) .csl-entry\}\n(?P<citation>.*?)(?=:::|$)"
Expand Down

0 comments on commit a1b3a5f

Please sign in to comment.