hugo/markup/goldmark
Joe Mooring 58c0f5e617 Remove trailing hyphen from auto heading ID
Applicable when autoHeadingIDType is either `github` or `github-ascii`.

When autoHeadingIDType is `blackfriday`, the existing code removes
trailing whitespace while iterating through the characters, using
a boolean "futureDash" mechanism.

Fixes #6798
2020-07-05 14:13:02 +02:00
..
goldmark_config
autoid.go Remove trailing hyphen from auto heading ID 2020-07-05 14:13:02 +02:00
autoid_test.go Remove trailing hyphen from auto heading ID 2020-07-05 14:13:02 +02:00
convert.go
convert_test.go
render_hooks.go
toc.go
toc_test.go