html looks for yelp-code.png which is not there
Bug #1200987 reported by
Doug Smythies
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Online publishing of the Ubuntu documentation |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
the compiled HTML has many <div class="code"> tags, and the corresponding css entry wants to have a background with yelp-code.png. However the file is not there and we don't want it there. Thus, there are many entries in the web server error.log file. The definition of div.code should be revised to not include the yelp-code.png watermark.
affects: | serverguide → help.ubuntu.com |
no longer affects: | ubuntu-docs (Ubuntu) |
To post a comment you must log in.
The issue is in the file /usr/share/ yelp-xsl/ xslt/common/ html.xsl
here:
div.code { "$icons. code"/> <xsl:text> ') no-repeat top </xsl:text> "$right" /><xsl: text>; "$color. gray_border" /><xsl: text>;
background: url('</xsl:text>
<xsl:value-of select=
<xsl:value-of select=
border: solid 1px </xsl:text>
<xsl:value-of select=
}
where icons.code maps to yelp-code.png from within the file /usr/share/ yelp-xsl/ xslt/common/ icons.xsl
we do not have control over that file, so we will have to override that definition with one in ubuntu.xls.