Delzur Posted September 12, 2014 Share Posted September 12, 2014 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 ? Quote Link to comment Share on other sites More sharing options...
Moderators Natenom Posted September 12, 2014 Moderators Share Posted September 12, 2014 Mumble supports a subset of HTML and CSS, see here. Quote Link to comment Share on other sites More sharing options...
Delzur Posted September 12, 2014 Author Share Posted September 12, 2014 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) Quote Link to comment Share on other sites More sharing options...
Lindee Posted September 19, 2014 Share Posted September 19, 2014 are you putting this into murmur.ini or do you have a web interface you are editing this in? Quote Link to comment Share on other sites More sharing options...
jidea8 Posted September 19, 2014 Share Posted September 19, 2014 neither webinterface, neither murmur.ini.it's for editing user's or groups 's comments.i try and he is right. Center is kicked after validation. some css spec are added. but text is no more centered. Quote Link to comment Share on other sites More sharing options...
Lindee Posted September 19, 2014 Share Posted September 19, 2014 Did you set "allowhtml=true" in the .ini file? Quote Link to comment Share on other sites More sharing options...
Delzur Posted September 25, 2014 Author Share Posted September 25, 2014 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 Quote Link to comment Share on other sites More sharing options...
Delzur Posted September 27, 2014 Author Share Posted September 27, 2014 HiI 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 channelhttp://img110.xooimage.com/files/3/b/9/capture1-47d1a18.pngNext, I click on the preview tab to see how it will get renderedhttp://img110.xooimage.com/files/e/8/f/capture2-47d1a32.pngThe result is good. However it's kind of a lie. If I send the message, here is the realityhttp://img110.xooimage.com/files/9/0/9/capture3b-47d1a46.pngAnd 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 htmlhttp://img110.xooimage.com/files/7/1/1/capture3a-47d1a60.pngAnd if I click again on preview, it's still centered...http://img110.xooimage.com/files/b/7/e/capture3a2-47d1a66.pngSo there seem to be an issue here. What is the way to get working ? Quote Link to comment Share on other sites More sharing options...
Administrators kissaki Posted October 3, 2014 Administrators Share Posted October 3, 2014 It that does not work, and it inadequately shows a different preview, I guess it just does not work.That could be considered a bug. Did you check for existing bug tickets? Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.