Skip to content

Commit d31e04f

Browse files
committed
bug: removing the backlash symbol from venues
1 parent 85d1a23 commit d31e04f

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

src/components/publications.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ export function Publications() {
6363
<span className="px-2 py-1 rounded-md bg-primary/10 text-primary text-xs font-medium">
6464
{pub.type}
6565
</span>
66-
<span className="text-muted-foreground italic">{pub.venue.replace(/\\/g, "")}</span>
66+
<span className="text-muted-foreground italic">{pub.venue}</span>
6767
</div>
6868
{pub.doi && (
6969
<>

src/lib/bibtex-parser.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@ export function bibtexToPublication(entry: BibTeXEntry): Publication {
8080
authors = authors.replace(/ and /g, ", ")
8181

8282
// Extract venue
83-
const venue = fields.booktitle || fields.journal || fields.publisher || "Unknown Venue"
83+
const venue = (fields.booktitle || fields.journal || fields.publisher || "Unknown Venue").replaceAll("\\", "")
8484

8585
// Extract DOI
8686
const doi = fields.doi

0 commit comments

Comments
 (0)