summaryrefslogtreecommitdiff
path: root/fpdf_test.go
diff options
context:
space:
mode:
authorGuillermo Pascual <gpascual@integrarsoluciones.com.ar>2016-12-02 13:43:36 +0200
committerKurt Jung <kurt.w.jung@gmail.com>2016-12-02 06:43:36 -0500
commitfecb37db6c13d7d8adbc8c2d0d4681e07a28ab78 (patch)
treeb48748ddd4c967961ed6c5ad52920e1c1d52f3f7 /fpdf_test.go
parentc8cb8f66cf6eac57e293d767e45e03afcc4a437c (diff)
Issue #53 - Support for <RIGHT> alignment tag on basic HTML (#95)
* Added <RIGHT> tag support to the html basic parser. Also added a test line for the RIGHT alignment on fpdf_test ExampleFpdf_HTMLBasicNew * Updated the reference PDF for HTMLBasicNew
Diffstat (limited to 'fpdf_test.go')
-rw-r--r--fpdf_test.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/fpdf_test.go b/fpdf_test.go
index 09346ff..456295c 100644
--- a/fpdf_test.go
+++ b/fpdf_test.go
@@ -470,6 +470,7 @@ func ExampleFpdf_HTMLBasicNew() {
htmlStr := `You can now easily print text mixing different styles: <b>bold</b>, ` +
`<i>italic</i>, <u>underlined</u>, or <b><i><u>all at once</u></i></b>!<br><br>` +
`<center>You can also center text.</center>` +
+ `<right>Or align it to the right.</right>` +
`You can also insert links on text, such as ` +
`<a href="http://www.fpdf.org">www.fpdf.org</a>, or on an image: click on the logo.`
html := pdf.HTMLBasicNew()