I was trying to stub out an alias. I left replaceWith and end both left to empty strings so that a section that used {alias} and {/alias} would compile. Instead, I got an error "Unrecognized macro {alias}." Then, after setting replaceWith to some value, and leaving end still empty, I got "Unrecognized macro {/alias}.
Expected behavior
We need to allow aliases to replace with empty strings.
What happened
I was trying to stub out an alias. I left
replaceWith
andend
both left to empty strings so that a section that used {alias} and {/alias} would compile. Instead, I got an error "Unrecognized macro {alias}." Then, after setting replaceWith to some value, and leavingend
still empty, I got "Unrecognized macro {/alias}.Expected behavior
We need to allow aliases to replace with empty strings.