This is a read-only archive of the Mumble forums.

This website archives and makes accessible historical state. It receives no updates or corrections. It is provided only to keep the information accessible as-is, under their old address.

For up-to-date information please refer to the Mumble website and its linked documentation and other resources. For support please refer to one of our other community/support channels.

Jump to content

HTML messages documentation


Delzur
 Share

Recommended Posts

Hello,


I am trying to make nice HTML messages but I have many trouble doing it.

Mumble automatically transform, add and removes css properties.


For exemple, it always add

, removes

and "text-align:center;" (I really don't succeed on centring something !)


I did not find any documentation stating what tags are accepted, and how Mumble handles formatting.

Did I miss it, does it exist ?

Link to comment
Share on other sites

Nice thanks for the link, I did not find it in the wiki.


I see that

should be supported, but I can't get it to work. I don't have my exact layout here but it is close to this :

 

<table>
<tr>
 <td colspan="2">
  <center>
   Hello
  </center>
 </td>
</tr>
<tr>
 <td>
  Hi, i'm longer
 </td>
 <td>
  than the "Hello" message
 </td>
</tr>
</table>

 

And hello isn't centred. Funny thing is, when I paste this in the source tab and click the tab message, "Hello" is centred. Then if I click source again, the

tag has disappeared. And whenever I send it, it is not centred.


Any clue ?


I'll post more details (with screen captures) tonight when I get home. I'll also try the

because I never did (and just discovered it on the doc you gave me)
Link to comment
Share on other sites

Hello,


I'm talking about sending a message to a channel using mumble user interface. Of course as jidea8 states, it's the same for comments.


To answer Lindee :

 

root@-----:~# grep html /etc/mumble-server.ini 
allowhtml=true

 

So yes it is activated. I can successfully embed images to messages and the


I could not give the examples I promised but I'll try to do it tonight or during the week end so I make my case clearer

Link to comment
Share on other sites

Hi

I have taken some screenshots to better explain the issue I'm experiencing with centering.

First, here is the sample text used throughout this test :

 

<br/>
Hello normal
<br/>
<center>Hello centered</center>

 

First step, I enter this as the source text for a message to a channel

http://img110.xooimage.com/files/3/b/9/capture1-47d1a18.png


Next, I click on the preview tab to see how it will get rendered

http://img110.xooimage.com/files/e/8/f/capture2-47d1a32.png


The result is good. However it's kind of a lie. If I send the message, here is the reality

http://img110.xooimage.com/files/9/0/9/capture3b-47d1a46.png


And you can see it's not centered at all.

As a side note, if I click on source again instead of sending, you can notice that mumble edited my html

http://img110.xooimage.com/files/7/1/1/capture3a-47d1a60.png


And if I click again on preview, it's still centered...

http://img110.xooimage.com/files/b/7/e/capture3a2-47d1a66.png


So there seem to be an issue here. What is the way to get

working ?
Link to comment
Share on other sites

 Share

×
×
  • Create New...