Skip to content

Commit 32cbcbc

Browse files
committed
fix: text formatter inner html
1 parent 7512477 commit 32cbcbc

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

src/library.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -150,7 +150,7 @@ export const tableFormatter = rows => {
150150
export const textFormatter = (text, innerHtml = false) => {
151151
return () => {
152152
if (innerHtml) {
153-
return h('div', { innerHtml: text })
153+
return h('div', { innerHTML: text })
154154
}
155155

156156
return h('div', text)

tests/unit/vue-command-query.spec.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,9 +12,9 @@ import {
1212

1313
// Mock
1414
class ResizeObserver {
15-
observe() { }
16-
unobserve() { }
17-
disconnect() { }
15+
observe () { }
16+
unobserve () { }
17+
disconnect () { }
1818
}
1919

2020
window.ResizeObserver = ResizeObserver

0 commit comments

Comments
 (0)