Skip to content

Commit 89a8346

Browse files
committed
Claude findings.
1 parent ab41a80 commit 89a8346

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

libs/pandautils/src/main/java/com/instructure/pandautils/utils/HtmlContentFormatter.kt

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -234,11 +234,14 @@ class HtmlContentFormatter(
234234
decodedLtiUrl = decodedLtiUrl
235235
.replace("custom_arc_launch_type=thumbnail_embed", "custom_arc_launch_type=immersive_view")
236236
.replace("custom_arc_launch_type=learn_embed", "custom_arc_launch_type=immersive_view")
237+
.replace("custom_arc_launch_type=collaboration_embed", "custom_arc_launch_type=immersive_view")
238+
.replace("custom_arc_launch_type=quiz_embed", "custom_arc_launch_type=immersive_view")
237239

238240
// Add source view type based on original embed type
239241
val sourceViewType = when {
240242
encodedLtiUrl.contains("thumbnail_embed") -> "thumbnail_embed"
241243
encodedLtiUrl.contains("learn_embed") -> "learn_embed"
244+
encodedLtiUrl.contains("quiz_embed") -> "quiz_embed"
242245
else -> "collaboration_embed"
243246
}
244247

0 commit comments

Comments
 (0)