summaryrefslogtreecommitdiff
path: root/htmlbasic.go
diff options
context:
space:
mode:
authorKurt Jung <kurt.w.jung@code.google.com>2014-01-29 10:54:09 -0500
committerKurt Jung <kurt.w.jung@code.google.com>2014-01-29 10:54:09 -0500
commit691af5e836563757306bb850d2315f7f67fb918a (patch)
treea145d94272fbb663e031a8b383181aacbd83e7ff /htmlbasic.go
parent557587281695e882c2244eac363312bcac643240 (diff)
Documentation clarification
Diffstat (limited to 'htmlbasic.go')
-rw-r--r--htmlbasic.go16
1 files changed, 8 insertions, 8 deletions
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) {