mirror of
https://github.com/ShareX/ShareX.git
synced 2024-10-02 18:26:27 +13:00
Input syntax must not be usable for output
This commit is contained in:
parent
857ba9b222
commit
3d3eaa2c64
1 changed files with 7 additions and 4 deletions
|
@ -201,12 +201,15 @@ private string ParseSyntax(string syntax, bool isOutput)
|
|||
return ParseSyntaxXml(value);
|
||||
}
|
||||
}
|
||||
|
||||
else
|
||||
{
|
||||
if (CheckKeyword(syntax, "input")) // Example: $input$
|
||||
{
|
||||
return Input;
|
||||
}
|
||||
else if (CheckKeyword(syntax, "filename")) // Example: $filename$
|
||||
}
|
||||
|
||||
if (CheckKeyword(syntax, "filename")) // Example: $filename$
|
||||
{
|
||||
return Filename;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue