Description: If program tries to open xls file with such kind of text <b>some text</b>, you cannot see it in the cell. Steps to Reproduce: 1.Create some xls file with content like "<Row> <Cell ss:MergeAcross="11" ss:StyleID="Default"> <ss:Data ss:Type="String" xmlns="http://www.w3.org/TR/REC-html40">Correct text: <b>text to show</b> </ss:Data> </Cell> </Row>" 2. Open this file in Libreoffice Calc 3. See that "text to show" does not showed. Actual Results: File without correct text Expected Results: File with correct text like "Correct text: text to show" Reproducible: Always User Profile Reset: No Additional Info: Help - About LibreOffice
Please attach test file. Thank you.
Created attachment 181310 [details] card number card number = 101010101010 the digits not showed.
Created attachment 181313 [details] printscreen from excel
Confirm with Version: 7.5.0.0.alpha0+ / LibreOffice Community Build ID: 28daee8a3252e03a67484dc8d3dd26fd73af4826 CPU threads: 4; OS: Linux 5.13; UI render: default; VCL: gtk3 Locale: cs-CZ (cs_CZ.UTF-8); UI: en-US Calc: threaded
Version: 7.3.4.2 / LibreOffice Community Build ID: 30(Build:2) CPU threads: 8; OS: Linux 5.4; UI render: default; VCL: gtk3 Locale: ru-RU (ru_RU.UTF-8); UI: ru-RU Ubuntu package version: 1:7.3.4~rc2-0ubuntu0.18.04.1~lo1 Calc: threaded We have different versions. Ok, I will try to update software.
The <B> tag must be uppercase. XML element names are case-sensitive, and the <b> tag (lowercase) technically is invalid. If you change it to <B>, Calc will open it correctly. Even in Excel, the card number does not have bold attribute applied when you use <b> (lowercase). But if you change that to <B> (uppercase) Excel will display it in bold.
I'll mark this as NOTABUG per Comment 6. The different behavior between Excel and Calc when handling invalid tags may be just a manifestation of different implementations.