From: Mark Wooding Date: Sat, 17 Jun 2023 14:30:02 +0000 (+0100) Subject: mason/dhandler: Apply both URL and HTML escaping to links. X-Git-Url: https://git.distorted.org.uk/~mdw/tgal/commitdiff_plain/988a1d43d515fc3914067ce91ef3557c69cf2b39 mason/dhandler: Apply both URL and HTML escaping to links. --- diff --git a/mason/dhandler b/mason/dhandler index 44ab7ed..f3a8cfc 100755 --- a/mason/dhandler +++ b/mason/dhandler @@ -35,8 +35,8 @@ of the GNU Affero General Public License. - - "> + + "> <% $head %>\ <% $title %> @@ -215,13 +215,13 @@ Failed to find ‘<% $path |h %>’. %
% if ($link{prev}) { - + % } % if ($link{next}) { - + % }
% @@ -254,11 +254,11 @@ Failed to find ‘<% $path |h %>’. % if (!@p) { [top] % } else { -[top] / \ +[top] / \ % STEP: for my $p (@p) { % if (defined $prev) { % $pp .= "$prev/"; -\ +\ <% $prev %> / \ % } % $prev = $p; @@ -309,7 +309,7 @@ Failed to find ‘<% $path |h %>’.