Issue 54717 - Export to XHTML does not set font-weight: normal
Summary: Export to XHTML does not set font-weight: normal
Status: ACCEPTED
Alias: None
Product: xml
Classification: Code
Component: external filters (show other issues)
Version: OOO 2.0 Beta2
Hardware: All All
: P3 Trivial (vote)
Target Milestone: 4.x
Assignee: AOO issues mailing list
QA Contact:
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-09-17 03:41 UTC by mtfulmer
Modified: 2013-02-07 21:53 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Latest Confirmation in: ---
Developer Difficulty: ---


Attachments
this file does not export to xhtml properly (10.08 KB, application/vnd.oasis.opendocument.text)
2005-09-17 03:43 UTC, mtfulmer
no flags Details

Note You need to log in before you can comment on or make changes to this issue.
Description mtfulmer 2005-09-17 03:41:43 UTC
Exporting the attached document to xhtml (File -> Export, Choose xhtml)
incorrectly generates a web page with the second line bold, while it is not bold
in the document. This is because the line is in a list, and one of it's parents
is bold. Putting the following rule in the stylesheet for the incorrect
paragraph is a workaround:

font-weight: normal; 

This should be inserted automatically
Comment 1 mtfulmer 2005-09-17 03:43:50 UTC
Created attachment 29614 [details]
this file does not export to xhtml properly
Comment 2 h.ilter 2005-09-19 16:17:39 UTC
Reassigned to ES
Comment 3 eric.savary 2005-09-19 16:39:55 UTC
Reassigned
Comment 4 jogi 2005-09-23 13:48:58 UTC
changing some categories, targets.
Comment 5 jogi 2005-09-23 13:49:40 UTC
changing sub-category and owner of task.
Comment 6 jogi 2005-09-23 13:50:22 UTC
Changing title.
Comment 7 svante.schubert 2008-01-17 18:14:39 UTC
Interesting issue..
Comment 8 svante.schubert 2008-05-30 14:40:04 UTC
Not able to look into it or fix it in OOo 3.0 to overload, change target to OOo 3.x!
Is anybody able to provide me with a patch for this problem?
Thanks in advance,
Svante
Comment 9 xquery 2008-05-30 18:01:53 UTC
it`s patch:

file header.xsl

please replace 
<xsl:text>* { margin:0; }
	</xsl:text>

with 

<xsl:text>* { margin:0; font-weight:normal;}
	</xsl:text>

and also better join adjacent <xsl:text> into one (if here no some possibly
hidden from me meaning)