I'm using CMud.
My logs auto-save to text files.
Upon opening these text files, I get logs that look like this:
Quote:
[35m[[0mHP:[1;34m100%[0;35m] [[0mME:[1;31m 98%[0;35m] [[0mPE:[1;33m100%[0;35m][0m
>
You utter the words, 'oahz'.
A magical [31mgate[0m materializes in a blinding flash of energy.
[35m[[0mHP:[1;34m100%[0;35m] [[0mME:[1;31m 86%[0;35m] [[0mPE:[1;33m100%[0;35m][0m
>
It appears to have some sort of code for colors and all that.
I can take this code, and enter it into editor to send it to my buffer. I can normal copy paste there, however it does not have color. It also will only take a little bit of the log, as my buffer is only so large.
How can I either convert this to HTML or log it differently.
Anyone seen the same issue before?