Skip to content

Commit

Permalink
expose HB_BUFFER_FLAG_PRODUCE_UNSAFE_TO_CONCAT
Browse files Browse the repository at this point in the history
  • Loading branch information
chearon authored and behdad committed May 16, 2023
1 parent d4bdc98 commit d4bdb23
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions hbjs.js
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,7 @@ function hbjs(instance) {
if (s == "PRESERVE_DEFAULT_IGNORABLES") { return 0x4; }
if (s == "REMOVE_DEFAULT_IGNORABLES") { return 0x8; }
if (s == "DO_NOT_INSERT_DOTTED_CIRCLE") { return 0x10; }
if (s == "PRODUCE_UNSAFE_TO_CONCAT") { return 0x40; }
return 0x0;
}

Expand Down Expand Up @@ -304,6 +305,7 @@ function hbjs(instance) {
* "PRESERVE_DEFAULT_IGNORABLES"
* "REMOVE_DEFAULT_IGNORABLES"
* "DO_NOT_INSERT_DOTTED_CIRCLE"
* "PRODUCE_UNSAFE_TO_CONCAT"
*/
setFlags: function (flags) {
var flagValue = 0
Expand Down

0 comments on commit d4bdb23

Please sign in to comment.