Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
D
denser
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
hive
denser
Merge requests
!558
Fix/Renderer pugins
Code
Review changes
Check out branch
Download
Patches
Plain diff
Merged
Fix/Renderer pugins
fix/renderer-plugins
into
main
Overview
0
Commits
6
Pipelines
6
Changes
2
Merged
Krzysztof Kocot
requested to merge
fix/renderer-plugins
into
main
1 month ago
Overview
0
Commits
6
Pipelines
6
Changes
2
Expand
Close
#503 (closed)
#504 (closed)
#475 (closed)
#580 (closed)
Edited
1 month ago
by
Krzysztof Kocot
0
0
Merge request reports
Viewing commit
9e6ca4fd
Prev
Next
Show latest version
2 files
+
17
−
17
Inline
Compare changes
Side-by-side
Inline
Show whitespace changes
Show one file at a time
Files
2
Search (e.g. *.vue) (Ctrl+P)
9e6ca4fd
Fix rendererd Spoiler content, fix
#503
· 9e6ca4fd
Krzysztof Kocot
authored
1 month ago
packages/renderer/src/renderers/default/embedder/embedders/ThreeSpeakEmbedder.ts
+
1
−
1
Options
@@ -10,7 +10,7 @@ export class ThreeSpeakEmbedder extends AbstractEmbedder {
public
getEmbedMetadata
(
input
:
string
|
HTMLObjectElement
):
EmbedMetadata
|
undefined
{
const
url
=
typeof
input
===
'
string
'
?
input
:
input
.
data
;
try
{
const
match
=
url
.
match
(
ThreeSpeakEmbedder
.
linkRegex
);
const
match
=
(
url
.
startsWith
(
'
\n
'
)
?
url
.
replace
(
'
\n
'
,
''
)
:
url
).
match
(
ThreeSpeakEmbedder
.
linkRegex
);
if
(
match
&&
match
[
1
])
{
const
id
=
match
[
1
];
return
{
Loading