Commit 03252f8
Fix BibTeX extraction from GitHub issue HTML
Extract from <pre> element inside <details> instead of the entire
<details> element. GitHub renders markdown code fences as <pre><code>
blocks, so targeting <pre> is more precise and avoids potential
whitespace or formatting issues.
Added fallback to <details> if <pre> not found, plus validation
to catch empty BibTeX early.
Co-Authored-By: sbfnk-bot <sbfnk-bot@users.noreply.github.com>1 parent 80005fe commit 03252f8
1 file changed
+22
-4
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
31 | 31 | | |
32 | 32 | | |
33 | 33 | | |
34 | | - | |
35 | | - | |
36 | | - | |
37 | | - | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
38 | 56 | | |
39 | 57 | | |
40 | 58 | | |
| |||
0 commit comments