After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 600163 - HTML export makes no attempt to render text styled as strikethrough as such
HTML export makes no attempt to render text styled as strikethrough as such
Status: RESOLVED FIXED
Product: Gnumeric
Classification: Applications
Component: import/export HTML
1.9.x
Other Linux
: Normal minor
: ---
Assigned To: Andreas J. Guelzow
Jody Goldberg
Depends on:
Blocks:
 
 
Reported: 2009-10-30 20:10 UTC by dathomp1
Modified: 2009-10-31 21:51 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
gnumeric strikethrough test doc (1.76 KB, application/x-gnumeric)
2009-10-30 20:10 UTC, dathomp1
Details
current rendering of strikethrough text when exported as HTML (870 bytes, text/html)
2009-10-30 20:11 UTC, dathomp1
Details
better(?) rendering of strikethrough text when exported as HTML (900 bytes, text/html)
2009-10-30 20:12 UTC, dathomp1
Details

Description dathomp1 2009-10-30 20:10:49 UTC
Created attachment 146594 [details]
gnumeric strikethrough test doc

It seems to me that if text is styled as strikethrough, the export function
should at least give rendering the strikethrough text as such a shot... 
perhaps just adding 'text-decoration: line-through;' to the style attribute of
the HTML element corresponding to the cell contents to be rendered with
'strikethrough' style.


Steps:

- open attached file
- save as HTML 4.0 
- use your favorite browser to contrast the rendering of the file produced by
gnumeric with the beauty of the same markup when the CSS text-decoration
property is specified appropriately
Comment 1 dathomp1 2009-10-30 20:11:54 UTC
Created attachment 146595 [details]
current rendering of strikethrough text when exported as HTML
Comment 2 dathomp1 2009-10-30 20:12:22 UTC
Created attachment 146596 [details]
better(?) rendering of strikethrough text when exported as HTML
Comment 3 Andreas J. Guelzow 2009-10-30 20:31:58 UTC
hmm, current Gnumeric seems to mark that strike through text as superscript. There seems to be a typo involved.

Which exact version of Gnumeric are you using?
Comment 4 Andreas J. Guelzow 2009-10-30 21:57:07 UTC
I see what's going on. There seems to be a piece of code missing in thew case that the formatting is aplied to the whole cell. I'll fix it later this weekend.
Comment 5 Andreas J. Guelzow 2009-10-31 21:51:45 UTC
This problem has been fixed in the development version. The fix will be available in the next major software release. Thank you for your bug report.

The fix will be in 1.9.15.