Skip to content

Commit 0c8bf11

Browse files
committed
Use textContent for Inline Markdown
1 parent b3094b1 commit 0c8bf11

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2506,7 +2506,7 @@ class WCMarkdown extends HTMLElement {
25062506
this.style.display = 'block';
25072507

25082508
if (this.innerHTML) {
2509-
this.__value = this.innerHTML;
2509+
this.__value = this.textContent;
25102510
this.setValue();
25112511
}
25122512
}

0 commit comments

Comments
 (0)