Skip to content

Commit

Permalink
Update sepl.js
Browse files Browse the repository at this point in the history
  • Loading branch information
Wunder-Wulfe authored Mar 15, 2020
1 parent be53574 commit 4d50705
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion sepl.js
Original file line number Diff line number Diff line change
Expand Up @@ -282,7 +282,9 @@ function compile() {
let text = typer.value
.replace(/(#(?:\\\#|\\\n|[^\n#])*#?)/g, '')
.replace(/\\n/g, '10')
.replace(/\\t/g, '9');
.replace(/\\t/g, '9')
.replace(/\btrue\b/g, '1')
.replace(/\bfalse\b/g, '0');
printHTML(outp, text);
text = text.replace(/\n/g, ' ## ');
state.matches = text.match(/((['"])(?:[\s\S]?|&.+;)(?:\2))|(\S+)/ig);
Expand Down

0 comments on commit 4d50705

Please sign in to comment.