aboutsummaryrefslogtreecommitdiff
path: root/html_backend.go
diff options
context:
space:
mode:
authorShulhan <ms@kilabit.info>2020-12-24 06:29:38 +0700
committerShulhan <ms@kilabit.info>2020-12-24 06:29:38 +0700
commitdfcdbe8567c54cb19b470e5c52c23308c0bd4591 (patch)
tree90a25328a9394d232bb10d3bd71901e1103c29d5 /html_backend.go
parent06383abe83ff7e7a7e8717e4546782ce0c3a0aea (diff)
downloadasciidoctor-go-dfcdbe8567c54cb19b470e5c52c23308c0bd4591.tar.xz
document: rename ToEmbeddedHTML to ToHTMLEmbedded
This is for consistency on exported method names on Document object. While at it, simplify the documentation for exported methods.
Diffstat (limited to 'html_backend.go')
-rw-r--r--html_backend.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/html_backend.go b/html_backend.go
index efe54ec..b789b6a 100644
--- a/html_backend.go
+++ b/html_backend.go
@@ -669,7 +669,7 @@ func htmlWriteTableRow(doc *Document, table *elementTable, row *tableRow, out io
case colStyleAsciidoc:
subdoc := parseSub(doc, contentTrimmed)
fmt.Fprint(out, "\n<div id=\"content\">")
- _ = subdoc.ToEmbeddedHTML(out)
+ _ = subdoc.ToHTMLEmbedded(out)
fmt.Fprint(out, "\n</div>")
case colStyleDefault: