hugo/markup
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
..
asciidocext Add some basic security policies with sensible defaults 2021-12-16 09:40:22 +01:00
blackfriday highlight: Remove some pygments references 2021-08-21 15:50:49 +02:00
converter CodeblockContext method renames 2022-02-27 17:59:36 +01:00
goldmark markup/goldmark/codeblocks: Fix slice bounds out of range 2022-03-08 21:50:21 +01:00
highlight tpl/transform: Fix it when template.HTML is passes as option to Hightlight 2022-03-02 12:30:35 +01:00
internal markup/goldmark: Improve attributes vs options 2022-02-26 21:54:36 +01:00
markup_config Misc config loading fixes 2021-06-14 17:00:32 +02:00
org Add Markdown diagrams and render hooks for code blocks 2022-02-24 18:59:50 +01:00
pandoc Add some basic security policies with sensible defaults 2021-12-16 09:40:22 +01:00
rst Add some basic security policies with sensible defaults 2021-12-16 09:40:22 +01:00
tableofcontents markup: Rename Header(s) to Heading(s) in ToC struct 2021-06-19 18:19:46 +02:00
markup.go Add Markdown diagrams and render hooks for code blocks 2022-02-24 18:59:50 +01:00
markup_test.go Remove mmark 2022-01-04 17:10:39 +01:00