Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions TagScriptEngine/block/case.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,10 +14,10 @@ class UpperBlock(Block):

**Examples:** ::

The text is {lower(ThIs Is A TeXt)}!
The text is {upper(ThIs Is A TeXt)}!
# The text is THIS IS A TEXT!

You have entered {lower({args})}!
You have entered {upper({args})}!
# You have entered HELLO WORLD!
"""

Expand Down Expand Up @@ -51,4 +51,4 @@ class LowerBlock(Block):

def process(self, ctx: Context) -> str:
text = str(ctx.verb.parameter).lower()
return "" if text == "none" else text
return "" if text == "none" else text