Skip to content

Commit

Permalink
Merge pull request #41 from doughsay/master
Browse files Browse the repository at this point in the history
Fix un-bolding of text.  Closes #40.
  • Loading branch information
drudru committed Jun 24, 2017
2 parents caa4c41 + 696ab84 commit 69bdc29
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 1 deletion.
3 changes: 3 additions & 0 deletions ansi_up.js
Expand Up @@ -275,6 +275,9 @@ var AnsiUp = (function () {
else if (num === 1) {
this.bright = true;
}
else if (num === 22) {
this.bright = false;
}
else if (num === 39) {
this.fg = null;
}
Expand Down
2 changes: 2 additions & 0 deletions ansi_up.ts
Expand Up @@ -427,6 +427,8 @@ class AnsiUp
this.bright = false;
} else if (num === 1) {
this.bright = true;
} else if (num === 22) {
this.bright = false;
} else if (num === 39) {
this.fg = null;
} else if (num === 49) {
Expand Down
3 changes: 3 additions & 0 deletions dist/ansi_up.js.include
Expand Up @@ -254,6 +254,9 @@ var AnsiUp = (function () {
else if (num === 1) {
this.bright = true;
}
else if (num === 22) {
this.bright = false;
}
else if (num === 39) {
this.fg = null;
}
Expand Down

0 comments on commit 69bdc29

Please sign in to comment.