diff options
author | Bjørn Erik Pedersen <[email protected]> | 2022-03-08 20:10:19 +0100 |
---|---|---|
committer | Bjørn Erik Pedersen <[email protected]> | 2022-03-08 21:50:21 +0100 |
commit | 53a6210d82eaa2cff7c802df88ff08dac5e7dced (patch) | |
tree | bc393f3dc7646e7200e2a03f6e54aa474ce836fe /minifiers | |
parent | 7182809d96a1decf937074556ef9f6370b145c4f (diff) | |
download | hugo-53a6210d82eaa2cff7c802df88ff08dac5e7dced.tar.gz hugo-53a6210d82eaa2cff7c802df88ff08dac5e7dced.zip |
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
Diffstat (limited to 'minifiers')
0 files changed, 0 insertions, 0 deletions