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;' '{}' + ``` --- specialture.mdwn | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'specialture.mdwn') diff --git a/specialture.mdwn b/specialture.mdwn index 4e635042..e0b42660 100644 --- a/specialture.mdwn +++ b/specialture.mdwn @@ -1,9 +1,9 @@ [[!template id="deco" text=" -[[!img daleforholme.jpg class=deco]] -[[!img turck_fisketorv.jpg class=deco]] -[[!img sildemad.jpg class=deco]] -[[!img kartoffelraekkerne.jpg class=deco]] -[[!img cykeldrab.jpg class=deco]] +[[!img daleforholme.jpg class="deco"]] +[[!img turck_fisketorv.jpg class="deco"]] +[[!img sildemad.jpg class="deco"]] +[[!img kartoffelraekkerne.jpg class="deco"]] +[[!img cykeldrab.jpg class="deco"]] "]] # Nogle specialture Ture til vands, til bords og på cykel -- cgit v1.2.3