@rpg-engine/long-bow 0.6.33 → 0.6.34

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": "@rpg-engine/long-bow",
3
- "version": "0.6.33",
3
+ "version": "0.6.34",
4
4
  "license": "MIT",
5
5
  "main": "dist/index.js",
6
6
  "typings": "dist/index.d.ts",
@@ -43,7 +43,10 @@ export const TutorialStepper = React.memo(
43
43
  )}
44
44
  <LessonFooter className="lesson-footer">
45
45
  {lesson.body && (
46
- <LessonBody className="lesson-body">{lesson.body}</LessonBody>
46
+ <LessonBody
47
+ className="lesson-body"
48
+ dangerouslySetInnerHTML={{ __html: lesson.body as string }}
49
+ ></LessonBody>
47
50
  )}
48
51
  {lesson.text && <DynamicText text={lesson.text} />}
49
52
  </LessonFooter>
@@ -29,6 +29,12 @@ const Template: Story<ITutorialStepperProps> = () => {
29
29
  text: 'This is the second lesson',
30
30
  image: tutorialImg2,
31
31
  },
32
+ {
33
+ title: 'Body example',
34
+ body: `<p>This is a body example with a <a href="https://google.com" target="_blank">link</a> and a <strong>bold</strong> text.
35
+ </p>`,
36
+ image: tutorialImg1,
37
+ },
32
38
  ];
33
39
 
34
40
  return (