Forum Discussion
AustinTX98
Nov 16, 2024Copper Contributor
Copilot won't allow me to copy and paste HTML code into prompt
Yesterday I started observing an issue where I'm unable to copy and paste html into the prompt. I'm using Copilot for business. I've been able to replicate the issue across multiple browsers and restarted for good measure.
Originally posted this in the MS Office community and a moderator suggested I post here too: https://answers.microsoft.com/en-us/msoffice/forum/all/copilot-wont-allow-me-to-copy-and-paste-html-code/68336ee7-4bf8-47e5-848a-77d8cb22504f
Anyone found a fix for this? How can we highlight this issue to Microsoft?
- phillip-caanzCopper Contributor
So I've found a work around involving the browser's inspector window.
- Write some dummy text into the prompt window.
- Right click on that text and select 'Inspect'
- Find the dummy text within the inspector window. It should be within a <span> tag.
- Double click the text so that you are editing only the text content and not the surrounding span or any other 'live' html.
- Make sure all your dummy text is highlighted and paste over it with your actual prompt including any html content.
- Click outside the window and you're done
Copilot still consumes the html content correctly when sent to its server, its just copilots UI/front-end that is removing the html content as you paste it in.
- phillip-caanzCopper Contributor
I had a wonderful workflow going at work that was easily saving me an hour every day with the ability to get copilot to generate html for me. But now its totally busted. 😠What the heck?
- tgraham-legalopsBrass Contributor
Colleague shared this, it's really just the < character that isn't accepted. Ridiculous. Microsoft 365 Copilot can't currently handle angle brackets • The Register
- tgraham-legalopsBrass Contributor
If you encode the input, it works. Copy/paste your html here or using something to encode it and CoPilot will read it: URL Encode Online | URLEncoder
- hayleysbrownCopper Contributor
I have the exact same issue as of today
- ilalovCopper Contributor
Same here!
- WinterBeaverCopper Contributor
It doesn’t allow me to paste C++ code with templates either. 😥 Probably due to the < > symbols in the syntax.