I encountered a problem with the 'Source Code' tool while composing messages. I noticed that when I tried to add a background image to a table in html using the 'Source Code' tool it actually changed your code to fit some standards. These changes cause a false positive inline script error which obviously gets blocked and hence no background image is displayed. The inline script error can be viewed in the browser's console like so:
[image: i.ibb.co]
Thing is, these "changes" that the tool causes are okay when viewed in a pure HTML viewer outside of Torn, so If I had to guess it has to do with the javascript falsely recognizing the re-written html code as a possible code injection cause by the single quotations inside the double quotations added by the tool. Here is a simple example rendered in an outside html viewer:
[image: i.ibb.co]
This is the code I input in the source code tool:
[image: i.ibb.co]
Here is the code after the source code tool changes it( it adds single quotation marks):
[image: i.ibb.co]
And this is the result when that same code is sent in a message using the source code tool. Notice there is no FIRE background image like in the previous images. (here you can also see how the code is being miss-read by the browser):
[image: i.ibb.co]
Since the "source code" tool automatically changes the code when used, it is impossible to add a background image to a table in html while composing a message with said tool.
A workaround I found is to paste the pre-made html code directly into the text box area of the message composing page and it works (but obviously this is not an option for everyone).
[image: i.ibb.co]
Thing is, these "changes" that the tool causes are okay when viewed in a pure HTML viewer outside of Torn, so If I had to guess it has to do with the javascript falsely recognizing the re-written html code as a possible code injection cause by the single quotations inside the double quotations added by the tool. Here is a simple example rendered in an outside html viewer:
[image: i.ibb.co]
This is the code I input in the source code tool:
[image: i.ibb.co]
Here is the code after the source code tool changes it( it adds single quotation marks):
[image: i.ibb.co]
And this is the result when that same code is sent in a message using the source code tool. Notice there is no FIRE background image like in the previous images. (here you can also see how the code is being miss-read by the browser):
[image: i.ibb.co]
Since the "source code" tool automatically changes the code when used, it is impossible to add a background image to a table in html while composing a message with said tool.
A workaround I found is to paste the pre-made html code directly into the text box area of the message composing page and it works (but obviously this is not an option for everyone).