Apache OpenOffice (AOO) Bugzilla – Issue 18675
when saving a hebrew file to HTML, punctuation is incorrectly marked as english
Last modified: 2013-08-07 15:00:01 UTC
OO1.1RC3, running on winXP, Hebrew local. HTML export encoding set as windows-1255 I created a simple document using styles and no ad-hoc formatting. Saved it as HTML. Looking at the code, it seems that all punctuation is enclosed within <SPAN LANG="en-US">, which is incorrect- the puncuation is not in English, and marking it as english could lead to incurrect browser rendering (the browser choosing a diffrent font for the punctuation). I got the same result with the HTML editor
Created attachment 8764 [details] original write file
Created attachment 8765 [details] exported html
Created attachment 8766 [details] test file created directly in the html editor
This is the correct behaviour as currently for some reason all punctuations are considered Western. When this will be fixed this not-really-problem will be fixed as well. *** This issue has been marked as a duplicate of 16354 ***
They are related, but not duplicate- even if issue 16354 is fixed, there is no telling that this will be fixed as well.
well I won't argue, but I think that changing all puctuations into Hebrew fonts will defenitely solve the problem. Anyhow search yourself - if you think there's anything to fix let's leave it open. I hope that the puctuations issue will be solvede quickly.
DL->MIB: Would you please takeover?
The HTML export uses the same code as the UI to figure out the font and langauge for all characters, so if 16354 is fixed, this bug will be fixed as well. *** This issue has been marked as a duplicate of 16354 ***
Tested with 680M26, which accroding to the release notes ( http://development.openoffice.org/releases/680_m26_snapshot.html ) has the fix for issue #16354 which this bug was marked duplicate of- This problem still occores, and doesn't seem to be fixed by the fix to issue #16354 See newsample files
Created attachment 13355 [details] simpel test file created with OOo 680m26
Created attachment 13356 [details] HTML created by OOo 680m26- notice that the punctuation is in an English span
To my surprise, #i16354# did not solve the issue.
adding dina as cc