Thanks for following up! So just to be clear, you are saying you
-
can produce an incorrect error color;
-
when using the
discourse_publish_format_htmlfilter -
in certain circumstances. On those circumstances, which of these is true:
- you’re always seeing the error in green when using the filter; or
- you’re always seeing the error in green when using the filter with the above snippet; or
- you’re sometimes seeing the error in green when using the filter with the above snippet
Also, as you seem to have some other customisations (e.g. the 15 / 100 element), so just checking if you see any javascript errors in the web console when the incorrect color appears?