I exported my site using the CTRL+O option to minify.
That’s because there are layout issues if I use the unminified exported files.
Looking at the code, there are quite a few places where the
<strong> tag is written like this:
Not all, but quite a lot. And there are also many
<br> tags written like this:
What’s going on? Is this a bug? Can I clean up the code manually?
Did you happen to copy and paste text from an external source (i.e. Microsoft Word)?
It is safe to remove the xmlns attributes.
I don’t believe I did copy text from a Word file when writing the copy for the site, but it was a long time ago, so I can’t be sure.
Is there any way I can stop Webflow from exporting this ‘junk’ code every time I export? Because otherwise I’ll have to clean it up every time.
Not just MS Word, but any application or online source, including emails. Some of them use these xmlns attributes for compatibility purposes.
The only way might be to copy and paste content into a plaintext editor with does not support text formatting (like Notepad), then copying from there and pasting into Webflow.
This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.