Enable `unsafe=true` for a single page

I’ve solved my issue differently, but I’ve just realized that it’s possible to have unsafe shortcode that would just contain {{ .Inner }}, that way it’s possible to insert html tags without even setting unsafe=true for the entire page.

E.g.

  1. Create layout/shortcodes/unsafe.html with the following content: {{ .Inner }}.
  2. In markdown use it like this:
{{< unsafe >}}
   <div class="special-formatting">
{{< /unsafe >}}
blah blah
{{< unsafe >}}
   </div>
{{< /unsafe >}}