summaryrefslogtreecommitdiff
path: root/vendor/github.com/yuin/goldmark/util/html5entities.go
diff options
context:
space:
mode:
authorLibravatar dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>2023-08-21 06:39:14 +0000
committerLibravatar tsmethurst <tobi.smethurst@protonmail.com>2023-08-21 17:17:57 +0200
commit3ee69cc0d3ca7a3f58549adaff1c05e0d9f14ae2 (patch)
treea5cb15b3aa5aef721e0f986afa6e27f88ba4c9ba /vendor/github.com/yuin/goldmark/util/html5entities.go
parent[feature/bugfix] Probe S3 storage for CSP uri, add config flag for extra URIs... (diff)
downloadgotosocial-3ee69cc0d3ca7a3f58549adaff1c05e0d9f14ae2.tar.xz
[chore]: Bump github.com/yuin/goldmark from 1.5.5 to 1.5.6 (#2140)
Diffstat (limited to 'vendor/github.com/yuin/goldmark/util/html5entities.go')
-rw-r--r--vendor/github.com/yuin/goldmark/util/html5entities.go3
1 files changed, 2 insertions, 1 deletions
diff --git a/vendor/github.com/yuin/goldmark/util/html5entities.go b/vendor/github.com/yuin/goldmark/util/html5entities.go
index b8e00a91b..dbb5f4f74 100644
--- a/vendor/github.com/yuin/goldmark/util/html5entities.go
+++ b/vendor/github.com/yuin/goldmark/util/html5entities.go
@@ -1,3 +1,4 @@
+//nolint:golint,lll,misspell
package util
// An HTML5Entity struct represents HTML5 entitites.
@@ -8,7 +9,7 @@ type HTML5Entity struct {
}
// LookUpHTML5EntityByName returns (an HTML5Entity, true) if an entity named
-// given name is found, otherwise (nil, false)
+// given name is found, otherwise (nil, false).
func LookUpHTML5EntityByName(name string) (*HTML5Entity, bool) {
v, ok := html5entities[name]
return v, ok