concerning the new 12.1 release (thanks!)
In my shortcodes folder I have this code.html file…
{%- set code = load_data(path = path) -%}
{{ code | safe }}
In .md files I can then render blocks of syntax-colorized code from different files in different languages like this…
```rust
{{ code(path = "content/software/nannou/spiral/src/main.rs") }}
```
that worked fine in Zola 11, but broke in Zola 12. Now with 12.1 it is kind of back to normal, except that there’s now a stray pre
tag inserted in the beginning of my rendered block of code. The result can look like this…
<pre data-shortcode>use nannou::prelude::*;
fn main() {
nannou::sketch(view).size(800, 600).run();
}
plus a closing pre tag in the end.
So, is this tag supposed to be there? Am I doing something strange?