ANSI Escapes Converted to HTML Properties in Report

Author: yan3kuCreated Sep 1, 2026Updated Sep 3, 2026

Would there be any interest in adding a built-in mechanism to automatically translate ANSI color codes into HTML/CSS styling in report files? (for example, via a new ansi=True argument to logger)?

Currently, capturing CLI outputs (like Ansible or Docker) clutters reports with raw escape codes unless they are stripped or parsed externally. I'm happy to implement this via a pull request, but wanted to check if this fits within the project's scope before writing the code.

Regards

Source: robotframework/robotframework