fvtt-module-theatre icon indicating copy to clipboard operation
fvtt-module-theatre copied to clipboard

HTML tag support not there?

Open qbpd123 opened this issue 4 years ago • 2 comments

Despite tags such as <b>, <i>, and <u> being shown on the default chat logs, they do not seem to reflect on the text boxes for the module. It instead shows up as raw text e.g. Test <b>test</b>

Additionally, if you start off with a html tag, the message does not render at all, e.g. <b>Test</b> shows up as a blank message.

Since it seems that color is able to be added to text (albiet not halfway through dialogue, like one would do with red truth in Umineko), will there be support for this? Or is it possible already?

Running on Foundry 0.8.9 and Version 1.20.1

No other modules active other than Theatre Inserts

qbpd123 avatar Aug 19 '21 02:08 qbpd123

In addition to the above </br> shows up in the dialogue box when you attempt a line break via shift+enter.

qbpd123 avatar Aug 19 '21 02:08 qbpd123

This was actually an intentional change a while back. The module purposely doesn't parse html tags at the beginning because some of the chat cards and certain items might have an invisible <div> or <br> tag at the start. At the moment, html tags are not supported in the stage. Maybe sometime soon!

megahead11 avatar Aug 25 '21 20:08 megahead11