diff --git a/js/src/common/utils/bidi.js b/js/src/common/utils/bidi.js index a618a7b0d..ff0ecb6d1 100644 --- a/js/src/common/utils/bidi.js +++ b/js/src/common/utils/bidi.js @@ -38,6 +38,8 @@ function bidi(node, prop) { node.attrs.value = prop(); } + node.attrs.bidi = null; + return node; }