hugo/markup/goldmark
Bjørn Erik Pedersen 53a6210d82 markup/goldmark/codeblocks: Fix slice bounds out of range
For the Position in code blocks we try to match the .Inner with the original source. This isn't always possible.

This commits avoids panics in these situations.

Fixes #9627
2022-03-08 21:50:21 +01:00
..
codeblocks markup/goldmark/codeblocks: Fix slice bounds out of range 2022-03-08 21:50:21 +01:00
goldmark_config markup/goldmark: Add attributes support for blocks (tables etc.) 2021-02-08 19:52:55 +01:00
internal Add Markdown diagrams and render hooks for code blocks 2022-02-24 18:59:50 +01:00
autoid.go all: Format code with gofumpt 2020-12-03 13:12:58 +01:00
autoid_test.go all: Format code with gofumpt 2020-12-03 13:12:58 +01:00
convert.go Add Markdown diagrams and render hooks for code blocks 2022-02-24 18:59:50 +01:00
convert_test.go markup/goldmark: Use Ordinal to create default lineanchors 2022-02-25 17:22:43 +01:00
integration_test.go markup/goldmark: Escape image alt attribute 2022-03-02 21:05:33 +01:00
render_hooks.go markup/goldmark: Escape image alt attribute 2022-03-02 21:05:33 +01:00
toc.go markup: Rename Header(s) to Heading(s) in ToC struct 2021-06-19 18:19:46 +02:00
toc_test.go Add Markdown diagrams and render hooks for code blocks 2022-02-24 18:59:50 +01:00