django-mailviews icon indicating copy to clipboard operation
django-mailviews copied to clipboard

Add support for warnings during rendering.

Open tkaemming opened this issue 9 years ago • 1 comments

If this is used with toronado, it'd be helpful to trap all log messages routed to the toronado.cssutils logger (or all loggers, possibly?) so that warnings logged during rendering (such as for invalid CSS rules) are less likely to be overlooked.

tkaemming avatar Oct 29 '15 21:10 tkaemming

Ideally, there would also be a hook so that other validation checks could performed (e.g. warn if assets are included via non-data: URL.)

tkaemming avatar Oct 30 '15 00:10 tkaemming