Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
WikiEducator
course-snapshot
Commits
3e2967be
Commit
3e2967be
authored
May 13, 2022
by
Dave Lane
Browse files
fixing missing / in Drupal embed code
parent
c607b8d9
Changes
1
Hide whitespace changes
Inline
Side-by-side
extras/h5p.js
View file @
3e2967be
...
...
@@ -91,7 +91,7 @@ module.exports = {
if
(
subdir
!=
""
)
{
script_url
=
script_url
+
'
/
'
+
subdir
;
}
code
+=
'
data-content-id="
'
+
h5pid
+
'
" src="
'
+
script_url
+
h5pid
+
'
/embed"
'
;
code
+=
'
data-content-id="
'
+
h5pid
+
'
" src="
'
+
script_url
+
'
/
'
+
h5pid
+
'
/embed"
'
;
}
if
(
width
!=
""
)
{
code
+=
'
width="
'
+
width
+
'
"
'
;
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment