Skip to content

Commit

Permalink
Merge branch 'preview-fixes'
Browse files Browse the repository at this point in the history
  • Loading branch information
the1812 committed May 7, 2022
2 parents 4dd687b + e0d48c6 commit c55e9dc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/core/utils/title.ts
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ export const formatTitle = (
const now = new Date()
const builtInVariables: StringMap = {
title: document.title
.replace(/[0-9]*[]*[]-[^-]+-[^-]+-[^-]+线-bilibili-$/, '')
.replace(/[0-9]*[]*[]-[^-]+-[^-]+-[^-]+线-bilibili-$/, '')
.replace(/-[^-]+-[^-]+-[^-]+线-bilibili-$/, '')
.replace(/-[^-]+-[^-]+线-bilibili-$/, '')
.replace(/([^]+?)_.+?_bilibili_$/, '')
Expand Down

0 comments on commit c55e9dc

Please sign in to comment.