diff options
Diffstat (limited to 'source/github-helpers/dom-formatters.ts')
-rw-r--r-- | source/github-helpers/dom-formatters.ts | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/source/github-helpers/dom-formatters.ts b/source/github-helpers/dom-formatters.ts index 8602b61e..1ae93211 100644 --- a/source/github-helpers/dom-formatters.ts +++ b/source/github-helpers/dom-formatters.ts @@ -14,7 +14,10 @@ export const linkifiedURLClass = 'rgh-linkified-code'; // https://github.com/sindresorhus/refined-github/issues/1305 const currentRepo = getRepo()!; -export function linkifyIssues(element: Element, options: Partial<linkifyIssuesCore.TypeDomOptions> = {}): void { +export function linkifyIssues( + element: Element, + options: Partial<linkifyIssuesCore.TypeDomOptions> = {} +): void { const linkified = linkifyIssuesCore(element.textContent!, { user: currentRepo.owner ?? '/', repository: currentRepo.name ?? '/', |