hugo/markup/goldmark/codeblocks
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
..
integration_test.go markup/goldmark/codeblocks: Fix slice bounds out of range 2022-03-08 21:50:21 +01:00
render.go CodeblockContext method renames 2022-02-27 17:59:36 +01:00
transform.go markup/goldmark: Add Position to CodeblockContext 2022-02-26 21:54:36 +01:00