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 /tours | |
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 'tours')
-rw-r--r-- | tours/turlisten.mdwn | 4 |
1 files changed, 2 insertions, 2 deletions
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]] |