mathbookio / mathbook

an online library of tutorials for subjects in mathematics
http://mathbook.io
Mozilla Public License 2.0
8 stars 8 forks source link

HTML tags not rendered in Opening Statement Preview #38

Closed JetJet13 closed 6 years ago

JetJet13 commented 6 years ago

Description

When there are html tags in the Opening Statement text box in the tutorial builder, previewing the tutorial does not render the html tags.

This bug affects anyone that includes html tags in their Opening Statement and tries to preview their tutorial.

How to Reproduce

  1. Create or edit an existing tutorial
  2. Under the Config tab in the tutorial builder, locate the Opening Statement text box, and enter some html tags, ie <strong>hello</strong>. In the preview box below the text box, it should render correctly.
  3. Scroll to the bottom and click on Save & Preview
  4. When the preview page loads, you should see that the html tags you entered did not render in the intro paragraph.

Actual Result

HTML tags are not being rendered in the Introduction paragraph of the preview view.

Expected Result

HTML tags used in the opening statement should be rendered correctly in the preview view.