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 /malmoe/gamlastan.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 'malmoe/gamlastan.mdwn')
-rw-r--r-- | malmoe/gamlastan.mdwn | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/malmoe/gamlastan.mdwn b/malmoe/gamlastan.mdwn index 1ccd33e2..1c265741 100644 --- a/malmoe/gamlastan.mdwn +++ b/malmoe/gamlastan.mdwn @@ -2,7 +2,7 @@ [[!if test="included()" then=""" -[[!img jugendgotik.jpg class=overview link=/malmoe/gamlastan]] +[[!img jugendgotik.jpg class="overview" link="/malmoe/gamlastan"]] Find ind til hjertet af Malmö. På denne tur bliver du bekendt med shopping og stræder i Gamla Stan, og bliver indført i byens spændende historie. @@ -13,9 +13,9 @@ shopping og stræder i Gamla Stan, og bliver indført i byens spændende histori else=""" [[!template id="deco" text=" -[[!img malmospringvand.jpg class=deco]] -[[!img jugendgotik.jpg class=deco]] -[[!img lillatorg.jpg class=deco]] +[[!img malmospringvand.jpg class="deco"]] +[[!img jugendgotik.jpg class="deco"]] +[[!img lillatorg.jpg class="deco"]] "]] # Malmös Gamla Stan |