ui.Load fails without returning an error when loading large data strings. I'm currently building a vue.js app and inserting all js/css inline. I embed the single html file in the go bin using The single html file runs fine in a browser, but can't be loaded by ui.Load as a data string and no error is returned. The resulting window contains no content, the title of the app indicates the entire data string loaded is <html></html>
The full string is logged to console so it's being loaded and passed to ui.Load correctly.
This entire setup has worked in the past, after only making changes to the vue.js portion of things, and being able to successfully run the single html file, the process broke.
ui.Load fails without returning an error when loading large data strings. I'm currently building a vue.js app and inserting all js/css inline. I embed the single html file in the go bin using The single html file runs fine in a browser, but can't be loaded by ui.Load as a data string and no error is returned. The resulting window contains no content, the title of the app indicates the entire data string loaded is
<html></html>
The full string is logged to console so it's being loaded and passed to ui.Load correctly.
The failing code can be downloaded and run with
go get github.com/jeffssh/gex
The single html file is available here: https://github.com/jeffssh/gex/blob/main/app/dist/build.htmlThis entire setup has worked in the past, after only making changes to the vue.js portion of things, and being able to successfully run the single html file, the process broke.