Skip to content

Commit d52857e

Browse files
author
Josh Lory
authored
Merge pull request code-dot-org#10298 from code-dot-org/fix-artist-meta-image
Fix the Artist image meta tag preview
2 parents a43df1b + 963d0c6 commit d52857e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

apps/src/turtle/turtle.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1507,7 +1507,7 @@ Artist.prototype.checkAnswer = function () {
15071507
// Get the canvas data for feedback.
15081508
if (this.testResults >= this.studioApp_.TestResults.TOO_MANY_BLOCKS_FAIL &&
15091509
!isFrozen && (level.freePlay || level.impressive)) {
1510-
reportData.image = this.getFeedbackImage_().split(',')[1];
1510+
reportData.image = encodeURIComponent(this.getFeedbackImage_().split(',')[1]);
15111511
}
15121512

15131513
this.studioApp_.report(reportData);

0 commit comments

Comments
 (0)