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>
This commit is contained in:
Joe Mooring
2022-11-09 22:21:57 -08:00
committed by GitHub
parent d333d0287c
commit 9dd51235b8
+1 -1
View File
@@ -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).