mirror of
https://github.com/tests-always-included/mo.git
synced 2024-12-18 16:27:52 +00:00
parent
00af9e978c
commit
f14150c205
2
mo
2
mo
@ -599,7 +599,7 @@ moParse() {
|
||||
elif moIsArray "$moTag"; then
|
||||
eval "moLoop \"\${moBlock[0]}\" \"$moTag\" \"\${!${moTag}[@]}\""
|
||||
else
|
||||
moParse "${moBlock[0]}" "$moCurrent" false
|
||||
moParse "${moBlock[0]}" "$moCurrent" true
|
||||
fi
|
||||
fi
|
||||
|
||||
|
@ -0,0 +1 @@
|
||||
thisIsTrue=true
|
@ -17,3 +17,7 @@ With text
|
||||
text
|
||||
first line
|
||||
second line
|
||||
|
||||
In a conditional
|
||||
first line
|
||||
second line
|
||||
|
@ -11,3 +11,8 @@ With text
|
||||
{{> indented-partials.partial}}
|
||||
text
|
||||
{{> indented-partials.partial}}
|
||||
|
||||
In a conditional
|
||||
{{#thisIsTrue}}
|
||||
{{> indented-partials.partial}}
|
||||
{{/thisIsTrue}}
|
||||
|
Loading…
Reference in New Issue
Block a user