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;' '{}' + ``` --- opgaver.mdwn | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'opgaver.mdwn') diff --git a/opgaver.mdwn b/opgaver.mdwn index 616552ad..aa3d8eca 100644 --- a/opgaver.mdwn +++ b/opgaver.mdwn @@ -1,9 +1,9 @@ [[!template id="deco" text=" -[[!img kringle.jpg class=deco]] -[[!img zodiac.jpg class=deco]] -[[!img pakhustalk.jpg class=deco]] -[[!img DSCN7024.jpg class=deco]] -[[!img stenansigt.jpg class=deco]] +[[!img kringle.jpg class="deco"]] +[[!img zodiac.jpg class="deco"]] +[[!img pakhustalk.jpg class="deco"]] +[[!img DSCN7024.jpg class="deco"]] +[[!img stenansigt.jpg class="deco"]] "]] # Byvandring med opgaver og udfordringer til deltagerne -- cgit v1.2.3