Bug 158972 - Adding ruby to an content control text, and saving as DOCX, produces invalid file
Summary: Adding ruby to an content control text, and saving as DOCX, produces invalid ...
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
Version:
(earliest affected)
7.6.4.1 release
Hardware: All All
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: DOCX-SAXParse DOCX-Content_Control
  Show dependency treegraph
 
Reported: 2024-01-02 11:23 UTC by Mike Kaganski
Modified: 2024-01-03 02:30 UTC (History)
1 user (show)

See Also:
Crash report or crash signature:


Attachments
A simple content control (1.12 KB, application/vnd.openxmlformats-officedocument.wordprocessingml.document)
2024-01-02 11:23 UTC, Mike Kaganski
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Mike Kaganski 2024-01-02 11:23:26 UTC
Created attachment 191694 [details]
A simple content control

1. Make sure that under Options->Language Settings->Languages, [x] Asian checkbox is ticked.
2. Open the attachment in Writer; put cursor into the "text" field (content control), and add a ruby (Asian Phonetic Guide in Format menu) - type some text in the dialog's "Ruby text" box.
3. Save as DOCX.
4. Reload.

=> SAXException: [word/document.xml line 2]: Opening and ending tag mismatch: sdtContent line 2 and rubyBase

Version: 7.6.4.1 (X86_64) / LibreOffice Community
Build ID: e19e193f88cd6c0525a17fb7a176ed8e6a3e2aa1
CPU threads: 24; OS: Windows 10.0 Build 22631; UI render: Skia/Vulkan; VCL: win
Locale: ru-RU (en_US); UI: en-US
Calc: CL threaded
Comment 1 Aron Budea 2024-01-03 02:30:25 UTC
Confirmed using LO 24.2.0.1.0+ (2d02bb6c792350b7bc07b029f835bd0223402079) / Ubuntu.