You can use regular expression and localize each of the selectors in the built-in style tag only in the place where you would like to apply styles.
i.e. .someclass td should become .ticket-reply-content .someclass td if you want the styles to apply to the div you show.
You should be able to use the regex: /(.*{)/g to match any selector and opening bracket to declare it.
In Javascript, you will need to do this after you have already uploaded the element to the page:
$(function() {
You should find the style element inside replies.message_modify and use a similar approach from the java backend
dehrg source share