Skip to content

Commit

Permalink
Ensure that id attribute starts with a letter
Browse files Browse the repository at this point in the history
  • Loading branch information
otacke committed Jul 20, 2024
1 parent 0f52e02 commit 5539688
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/scripts/components/toolbar/toolbar.js
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ export default class Toolbar {
this.dom.append(headline);

if (this.params.headline) {
const headLineId = H5P.createUUID();
const headLineId = `headline-${H5P.createUUID()}`;

headline.setAttribute('id', headLineId);

Expand Down

0 comments on commit 5539688

Please sign in to comment.