From fd383e18f9db50c9be83161de7912a208e6aeae6 Mon Sep 17 00:00:00 2001 From: Jonas Smedegaard Date: Sat, 10 Dec 2022 12:14:45 +0100 Subject: normalize directives to always quote variables command: ``` find * -type f -name '*.mdwn' -execdir perl -gpi -e 's/(?:class|link|size|stem|width|height)=\K[^=\s"\]>]+/"$&"/g;' '{}' + ``` --- tours/turlisten.mdwn | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'tours/turlisten.mdwn') diff --git a/tours/turlisten.mdwn b/tours/turlisten.mdwn index 90f57195..8b3c0e00 100644 --- a/tours/turlisten.mdwn +++ b/tours/turlisten.mdwn @@ -1,10 +1,10 @@ [[!if test="included() and !(destpage(index) or destpage(test))" then=""" [[!template id="deco" text=" -[[!img tours/vindue_turliste.jpg class=deco link=/tours ]] +[[!img tours/vindue_turliste.jpg class="deco" link="/tours" ]] "]] """]] [[!if test="included()" then=""" -[[!img tours/vindue_turliste.jpg link="/tours" class=solo ]] +[[!img tours/vindue_turliste.jpg link="/tours" class="solo" ]] """]] [[!if test="!included()" then=""" [[!inline pages=tours raw=yes]] -- cgit v1.2.3