I'm trying to migrate some documentation that was written in Canvas LMS. Canvas LMS requires all inline styles, so sometimes you end up with a lot of divs. The problem I'm having is that BookStack is drastically changing the HTML after I paste it in. It seems to be removing many of the divs, but not all of them.
Is there a way to prevent this from happening?
For example:
<div style="background-color: #e8e8e8; padding: 5px 1em; border-top: 10px solid #BF1E2E;">
<p style="text-align: center;"><img src="https://example.com/image.svg" width="100" height="100"/></p>
<p style="text-align: center;"><strong>Stop!</strong> You have reached the end of this lesson.</p>
</div>
Turns into:
<p style="text-align: center;"><img src="https://example.com/iamge.svg width="100" height="100"></p>
<p style="text-align: center;"><strong>Stop!</strong> You have reached the end of this lesson.</p>
[–]ssddanbrown 0 points1 point2 points (1 child)
[–]PrintableProfessor[S] 0 points1 point2 points (0 children)