Translate the word "else"
This commit is contained in:
parent
7706f1da9f
commit
c943d43c03
1 changed files with 2 additions and 2 deletions
|
@ -155,8 +155,8 @@ specs.forEach(function(spec) {
|
|||
if (info.shape === 'hat') output = '\n' + output;
|
||||
|
||||
if (spec[1] === 'e') {
|
||||
output = output.replace('end', 'else\n \nend');
|
||||
preview += '\nelse';
|
||||
output = output.replace('end', language.blocks['else'] + '\n \nend');
|
||||
preview += '\n' + language.blocks['else'];
|
||||
}
|
||||
|
||||
preview = preview.replace(/&/g, '&')
|
||||
|
|
Reference in a new issue