From 691af5e836563757306bb850d2315f7f67fb918a Mon Sep 17 00:00:00 2001 From: Kurt Jung Date: Wed, 29 Jan 2014 10:54:09 -0500 Subject: Documentation clarification --- htmlbasic.go | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) (limited to 'htmlbasic.go') diff --git a/htmlbasic.go b/htmlbasic.go index b2a05e5..d2c71ea 100644 --- a/htmlbasic.go +++ b/htmlbasic.go @@ -88,10 +88,10 @@ func HtmlBasicTokenize(htmlStr string) (list []HtmlBasicSegmentType) { } // HtmlBasicType is used for rendering a very basic subset of HTML. It supports -// only the bold, italic and underscore attributes and hyperlinks. In the Link +// only hyperlinks and bold, italic and underscore attributes. In the Link // structure, the ClrR, ClrG and ClrB fields (0 through 255) define the color -// of hyperlinks. The Bold, Italic and Underscore values (0 for off, 1 for on) -// define the hyperlink style. +// of hyperlinks. The Bold, Italic and Underscore values define the hyperlink +// style. type HtmlBasicType struct { pdf *Fpdf Link struct { @@ -110,11 +110,11 @@ func (f *Fpdf) HtmlBasicNew() (html HtmlBasicType) { } // Write prints text from the current position using the currently selected -// font. The text can be encoded with a basic subset of HTML that includes tags -// for italic (I), bold (B) and underscore (U) attributes and hyperlinks. When -// the right margin is reached a line break occurs and text continues from the -// left margin. Upon method exit, the current position is left at the end of -// the text. +// font. The text can be encoded with a basic subset of HTML that includes +// hyperlinks and tags for italic (I), bold (B) and underscore (U) attributes. +// When the right margin is reached a line break occurs and text continues from +// the left margin. Upon method exit, the current position is left at the end +// of the text. // // lineHt indicates the line height in the unit of measure specified in New(). func (html *HtmlBasicType) Write(lineHt float64, htmlStr string) { -- cgit v1.2.1-24-ge1ad