with something like jquery though it’s fairly trivial and doesn’t require any type of change to automatic documentation. A simple selector like this would give you access to the problematic list items, and then you could do whatever you wanted with them (add a class, append new HTML, etc):
$("td.field-body li:contains('enum in [')").addClass('max_height_controlled')