Standardise whitespace in conditional shortcut syntax (#8583)

This commit is contained in:
Jeremy Ruston
2024-09-02 16:51:15 +01:00
committed by GitHub
parent 842605d28e
commit 69637640d2
23 changed files with 85 additions and 85 deletions

View File

@@ -5,7 +5,7 @@ tags: [[$:/tags/wiki-test-spec]]
title: Text
This is a <% if [<something>match[one]] %>Elephant<% endif %>, I think.
This is a <%if [<something>match[one]] %>Elephant<%endif%>, I think.
+
title: Output

View File

@@ -6,23 +6,23 @@ tags: [[$:/tags/wiki-test-spec]]
title: Output
\procedure test(animal)
<% if [<animal>match[Elephant]] %>
<%if [<animal>match[Elephant]] %>
! It is an elephant
<% else %>
<%else%>
<% if [<animal>match[Giraffe]] %>
<%if [<animal>match[Giraffe]] %>
! It is a giraffe
<% else %>
<%else%>
! It is completely unknown
<% endif %>
<%endif%>
<% endif %>
<%endif%>
\end

View File

@@ -5,7 +5,7 @@ tags: [[$:/tags/wiki-test-spec]]
title: Text
This is a <% if [<something>match[one]] %>Elephant<% else %>Crocodile<% endif %>, I think.
This is a <%if [<something>match[one]] %>Elephant<%else%>Crocodile<%endif%>, I think.
+
title: Output

View File

@@ -5,7 +5,7 @@ tags: [[$:/tags/wiki-test-spec]]
title: Text
This is a <% if [<something>match[one]] %>Elephant<% elseif [<something>match[two]] %>Antelope<% else %>Crocodile<% endif %>, I think.
This is a <%if [<something>match[one]] %>Elephant<%elseif [<something>match[two]] %>Antelope<%else%>Crocodile<%endif%>, I think.
+
title: Output

View File

@@ -5,7 +5,7 @@ tags: [[$:/tags/wiki-test-spec]]
title: Text
This is a <% if [<something>match[one]] %>Elephant
This is a <%if [<something>match[one]] %>Elephant
+
title: Output

View File

@@ -5,7 +5,7 @@ tags: [[$:/tags/wiki-test-spec]]
title: Output
This is a <% if 1 2 3 4 5 6 %>Elephant<% endif %>, I think.
This is a <%if 1 2 3 4 5 6 %>Elephant<%endif%>, I think.
+
title: ExpectedResult

View File

@@ -6,15 +6,15 @@ tags: [[$:/tags/wiki-test-spec]]
title: Output
\procedure test(animal)
<% if [<animal>match[Elephant]] %>
<%if [<animal>match[Elephant]] %>
It is an elephant
<% else %>
<% if [<animal>match[Giraffe]] %>
<%else%>
<%if [<animal>match[Giraffe]] %>
It is a giraffe
<% else %>
<%else%>
It is completely unknown
<% endif %>
<% endif %>
<%endif%>
<%endif%>
\end
<<test "Giraffe">>

View File

@@ -7,20 +7,20 @@ title: Text
\whitespace trim
This is a&#32;
<% if [<something>match[one]] %>
<% if [<another>match[one]] %>
<%if [<something>match[one]] %>
<%if [<another>match[one]] %>
Indian
<% elseif [<another>match[two]] %>
<%elseif [<another>match[two]] %>
African
<% else %>
<%else%>
Unknown
<% endif %>
<%endif%>
&#32;Elephant
<% elseif [<something>match[two]] %>
<%elseif [<something>match[two]] %>
Antelope
<% else %>
<%else%>
Crocodile
<% endif %>
<%endif%>
, I think.
+
title: Output