Hi @Leanna,
The problem is not that exact code, but the code it generates on-fly which the builder is unable to capture and caused issues. I recommend deactivating your widget while working in the builder. In widgets section, you can drag your widgets to inactive sidebar.
Thanks!