@capytale/meta-player 0.9.5 → 0.9.6

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@capytale/meta-player",
3
- "version": "0.9.5",
3
+ "version": "0.9.6",
4
4
  "type": "module",
5
5
  "scripts": {
6
6
  "dev": "vite",
@@ -30,13 +30,13 @@ export const usePedagoOptions = () => {
30
30
  return false;
31
31
  }
32
32
  if (loadedInstructions.format === "html") {
33
- if (typeof loadedInstructions.value !== "string") {
33
+ if (typeof loadedInstructions.htmlValue !== "string") {
34
34
  console.warn("HTML loaded instructions value is not a string");
35
35
  return true;
36
36
  }
37
37
  return (
38
- loadedInstructions.value.trim() !== "" &&
39
- loadedInstructions.value.trim() !== "<p></p>"
38
+ loadedInstructions.htmlValue.trim() !== "" &&
39
+ loadedInstructions.htmlValue.trim() !== "<p></p>"
40
40
  );
41
41
  } else if (loadedInstructions.format === "markdown") {
42
42
  if (typeof loadedInstructions.value !== "string") {