code_field icon indicating copy to clipboard operation
code_field copied to clipboard

Make webSpaceFix default to false

Open alexeyinkin opened this issue 1 year ago • 0 comments

When webSpaceFix is omitted (defaults to true), CodeController.text returns text with dots. For it to return the intact text, webSpaceFix should be passed as false. But when the bug that called for this hack is fixed, we want text property to return intact text without webSpaceFix.

This will mean a breaking change when the bug is fixed, and this change will not be noticed. But we rather want it to happen now to have less problems in the future.

Another option is to make it required to force users to set it. When the bug is fixed, we will remove this property forcing users to pay attention again.

But I think it is OK to just change the default value in the next breaking release and to mention it in migration doc -- because the impact of this bug is mild.

alexeyinkin avatar Jul 07 '22 15:07 alexeyinkin