Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/gohugoio/hugoDocs.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoe Mooring <joe.mooring@veriphor.com>2022-11-10 09:21:57 +0300
committerGitHub <noreply@github.com>2022-11-10 09:21:57 +0300
commit9dd51235b8d6f1b5d6a0dd65177e9344e18aabc2 (patch)
tree624318916dcdba69ae29399ba85a6afae82afdf7
parentd333d0287c78c55a7ae7acec1b26416abe2fde62 (diff)
Add detail to description of .Plain page variable (#1870)
Co-authored-by: anakinsleftleg <77084568+anakinsleftleg@users.noreply.github.com> Co-authored-by: anakinsleftleg <77084568+anakinsleftleg@users.noreply.github.com>
-rw-r--r--content/en/variables/page.md2
1 files changed, 1 insertions, 1 deletions
diff --git a/content/en/variables/page.md b/content/en/variables/page.md
index d1def9281..78100a6af 100644
--- a/content/en/variables/page.md
+++ b/content/en/variables/page.md
@@ -111,7 +111,7 @@ See also `.ExpiryDate`, `.Date`, `.PublishDate`, and [`.GitInfo`][gitinfo].
: the Permanent link for this page; see [Permalinks](/content-management/urls/)
.Plain
-: the Page content stripped of HTML tags and presented as a string.
+: the Page content stripped of HTML tags and presented as a string. You may need to pipe the result through the [`htmlUnescape`](/functions/htmlunescape/) function when rendering this value with the HTML [output format](/templates/output-formats#output-format-definitions).
.PlainWords
: the slice of strings that results from splitting .Plain into words, as defined in Go's [strings.Fields](https://pkg.go.dev/strings#Fields).