Bug 63257 - Documentation error: html in cairo_format_stride_for_width documentation
Summary: Documentation error: html in cairo_format_stride_for_width documentation
Status: RESOLVED FIXED
Alias: None
Product: cairo
Classification: Unclassified
Component: general (show other bugs)
Version: 1.12.14
Hardware: Other All
: medium normal
Assignee: Bryce Harrington
QA Contact: cairo-bugs mailing list
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: cairo-1.14
  Show dependency treegraph
 
Reported: 2013-04-08 10:02 UTC by Simon Kågedal Reimer
Modified: 2014-02-27 02:38 UTC (History)
0 users

See Also:
i915 platform:
i915 features:


Attachments
Screenshot of bug on web page as displayed in IE 9 on Windows 7 (30.37 KB, text/plain)
2013-04-08 10:02 UTC, Simon Kågedal Reimer
Details
Patch that removes # markup, which doesn't seem to work here. (502 bytes, text/plain)
2013-04-08 13:39 UTC, Simon Kågedal Reimer
Details

Description Simon Kågedal Reimer 2013-04-08 10:02:51 UTC
Created attachment 77582 [details]
Screenshot of bug on web page as displayed in IE 9 on Windows 7

Under http://cairographics.org/manual/cairo-Image-Surfaces.html#cairo-format-stride-for-width - the documentation for the cairo_format_stride_for_width function - there is an example of typical usage. This shows html code instead of marked-up C code. 

Appears in both IE and Firefox.
Comment 1 Simon Kågedal Reimer 2013-04-08 13:39:45 UTC
Created attachment 77589 [details]
Patch that removes # markup, which doesn't seem to work here.

Suggested patch. Unless it's possible somehow to make this markup work here, but doesn't seem to be used elsewhere in <programlisting>s.
Comment 2 Bryce Harrington 2014-02-27 02:38:10 UTC
commit 19b31bbe7018dbe031c650e7497b19a0607ad453
Author: Bryce Harrington <b.harrington@samsung.com>
Date:   Wed Feb 26 18:36:15 2014 -0800

    image: Fix bad HTML generation in code docs for cairo-format-stride-for-width

    Patch from Simon Kågedal Reimer

    Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=63257


Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.