Issue: Word Online displays 'TA field codes' with embedded 'LineBreak' as GreyBox and new line
Scenario :
We are experiencing an issue in Word Online where displaying "TA field codes" that contain embedded line breaks shows them as gray boxes and also introduces unwanted extra blank lines.
Steps to reproduce:
- Open any word document
- Insert TA field codes that include a LineBreak.
- Copy the document link from OneDrive and open the same document in a browser (preferably Chrome) using that link.
- Observe that Word Online displays gray boxes in the document where TA field codes with LineBreak.
Below are screenshots from Word Online and Word desktop for comparison:
Please note that, "TA field code" in Line 1 contains no embedded line breaks, whereas the "TA field code" in Line 2 does.
1. Desktop Word:
Below screenshot is for Desktop word after 'show paragraph marks' is on.
2. Word Online :
Below Screenshot without paragraph symbol :
a line break character inside a hidden tag is causing a grey box issue in word online
Expected behavior: Word Online shouldn't display gray boxes or extra lines, even when the TA field code contains embedded line breaks..
Current behavior: When a TA field code includes an embedded line break, Word Online shows a new, extra line and displays gray boxes.
Environment:
Platform : PC Desktop
Host: Word
Office version number: Any
Operating System: Windows
Browser (if using Office on the web): Chrome and MSEdge
Context
This issue will be directly impacted to the customers who are all using Word Online.
Please let me know any other information required ..
I've attached a document that explains how to manually recreate this issue. => https://github.com/user-attachments/files/20576971/Ticket_TA.newline.docx
Thank you
1 Comment
- venkatalocharlaCopper Contributor
Hello Team, could someone please investigate the Word Online issue where the above TA field codes with embedded 'LineBreak' are appearing as grey boxes? Your help would be greatly appreciated. Thanks!