ansi2html icon indicating copy to clipboard operation
ansi2html copied to clipboard

Convert text with ANSI escape sequences to styled HTML

Results 5 ansi2html issues
Sort by recently updated
recently updated
newest added

Fix regex denial of service vulnerability by checking length of ANSI escape codes in the input string

https://app.huntr.dev/users/FrogletApps has fixed a security vulnerability (Denial of Service (DoS)) :hammer:. FrogletApps has been awarded $25 for fixing the vulnerability through the huntr bug bounty program :dollar:. Think you could...

We found an issue in the ANSI code matching that doesn't work well with a couple different ANSI combinations. **Case 1:** If a user has the valid code of `0;33;49m`,...

Very useful library. Can you please add to bower?

I'm using tput ( `tput setaf` , `tput bold`, `tput setab`) And these examples won't color properly or will have extra characters `(B` or `[`: ``` ^[[1m^[[31m^[[47mlight-red_on_white^[(B^[[0m ^[[33m^[[44myellow_on_blue^[(B^[[0m ```