mirror of
https://github.com/alexmickelson/canvasManagement.git
synced 2026-03-26 15:48:32 -06:00
fix test
This commit is contained in:
@@ -105,7 +105,10 @@ export const getStatus = ({
|
||||
|
||||
try {
|
||||
const htmlIsSame = htmlIsCloseEnough(
|
||||
markdownToHTMLSafe(assignment.description, settings),
|
||||
markdownToHTMLSafe({
|
||||
markdownString: assignment.description,
|
||||
settings,
|
||||
}),
|
||||
canvasAssignment.description
|
||||
);
|
||||
if (!htmlIsSame)
|
||||
|
||||
@@ -60,12 +60,6 @@ export default function AssignmentPreview({
|
||||
<br />
|
||||
<section>
|
||||
<MarkdownDisplay markdown={assignment.description} />
|
||||
{/* <div
|
||||
className="markdownPreview"
|
||||
dangerouslySetInnerHTML={{
|
||||
__html: htmlPreview,
|
||||
}}
|
||||
></div> */}
|
||||
</section>
|
||||
<hr />
|
||||
<section>
|
||||
|
||||
Reference in New Issue
Block a user