We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
There is exception in IE11 while trying to apply formatters
The issue came from this function:
function count_selfclosing_formatting(e) { var n = 0; if ($.terminal.have_formatting(e)) { var r = new RegExp(format_parts_re,"i"); $.terminal.format_split(e).forEach(function(e) { if ($.terminal.is_formatting(e)) { var t = e.match(r); if (t && t[1].match(/@/) && t[6] === "") { n++ } } }) } return n }
format_parts_re is regex that it's used to create new regex without g flag, the code should use format_parts_re.source that is supported in IE11.
format_parts_re.source
Windows 10, IE11
The text was updated successfully, but these errors were encountered:
fix exception in IE from formatters #631
db23f18
Exception happen because in IE you can create Regular using constructor from other regex, any other browsers seems to be fine with that
No branches or pull requests
Issue summary
There is exception in IE11 while trying to apply formatters
Steps to reproduce
The issue came from this function:
format_parts_re is regex that it's used to create new regex without g flag, the code should use
format_parts_re.source
that is supported in IE11.Browser and OS
Windows 10, IE11
The text was updated successfully, but these errors were encountered: