diff options
author | Jonas Smedegaard <dr@jones.dk> | 2022-12-10 12:14:45 +0100 |
---|---|---|
committer | Jonas Smedegaard <dr@jones.dk> | 2024-04-06 10:36:34 +0200 |
commit | fd383e18f9db50c9be83161de7912a208e6aeae6 (patch) | |
tree | a6bf88a8aa9257714936861d63e199dbdb653908 /cykelture.mdwn | |
parent | b11efef23033086bab6084e6c2d6683026df9654 (diff) |
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;' '{}' +
```
Diffstat (limited to 'cykelture.mdwn')
-rw-r--r-- | cykelture.mdwn | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/cykelture.mdwn b/cykelture.mdwn index b91a5d0d..62c90780 100644 --- a/cykelture.mdwn +++ b/cykelture.mdwn @@ -1,7 +1,7 @@ [[!meta title="Cykelture"]] [[!if test="included() and !(destpage(index) or destpage(test))" then=""" -[[!img jagtvejbred.jpg link=cykelture class=overview]] +[[!img jagtvejbred.jpg link="cykelture" class="overview"]] Bookinginfo med mere. @@ -9,11 +9,11 @@ Bookinginfo med mere. """]] [[!if test="included()" then=""" -[[!img jagtvejbred.jpg link="cykelture" class=solo size=480x ]] +[[!img jagtvejbred.jpg link="cykelture" class="solo" size="480x" ]] """]] [[!if test="!included()" then=""" -[[!img jagtvejbred.jpg class=solo size=480x ]] +[[!img jagtvejbred.jpg class="solo" size="480x" ]] # Cykelture i Hovedstaden - Byen rundt og rundt om byen |