Skip to content

Commit 6f6ec28

Browse files
Prevent pages from not rendering when Dindent encounters a grave
1 parent f4c12c3 commit 6f6ec28

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

site/plugins/kirby-bradshawsguide/components/template.php

+2
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,8 @@ public function render(array $data = []): string
4040

4141
// Indent HTML
4242
if ($this->hasDefaultType() === true) {
43+
// https://github.com/gajus/dindent/issues/15
44+
$html = preg_replace("/à/u", "&agrave", $html);
4345
$html = $indenter->indent($html);
4446
}
4547

0 commit comments

Comments
 (0)