Skip to content

Commit f7b1a92

Browse files
authored
Update README.md
1 parent 678bb1c commit f7b1a92

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,6 @@ The widget has (nearly) the same [JavaScript API](https://www.textcontrol.com/do
5050
function loadDocument()
5151
{
5252
textControl1.loadDocument(
53-
TXTextControl.StreamType.HTMLFormat, '<strong>This is a test</strong>');
53+
TXTextControl.StreamType.HTMLFormat, btoa("<strong>This is a test</strong>"));
5454
}
5555
```

0 commit comments

Comments
 (0)