In DefaultStyle.json the style for "Error" is :
"Error": ["border", "#FF0000"]
This is not being recognized as a "border" style but as a "foreground" style.
Hence the HMTL style generated is .err { color: border; color: #FF0000; } /* Error */.
I assume the idea is that errors are in a red box and written in red text?