Trouble on using emoticons

Order FHE3
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
March 17, 2019

Hi,

we hit a bug with using 'warning' emoticon. On creating page with inly this emoticon, we get following:

<p><img class="emoticon emoticon-warning" src="/s/en_GB/7901/9eed016aaa593220cd98620fec88bcbd9fd55893/_/images/icons/emoticons/warning.svg" data-emoticon-name="warning" alt="(warning)" /></p>

 

and everything works as expected. If we add some text, confluence use another src for the Image (http!) an breaks https:

<p>Add some text <img class="emoticon emoticon-warning" title="(warning)" src="http://docs-test.fhe3.com/s/en_GB/7901/9eed016aaa593220cd98620fec88bcbd9fd55893/_/images/icons/emoticons/warning.svg" alt="(warning)" border="0"/></p>

 

This happens with all emoticons on same way.

 

1 answer

1 vote
Bill Bailey
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
March 18, 2019

There is something strange going on with emoticons that changed some time in the early 6.x releases. If you insert an emoticon, and the look a the source (using the source editor), you see the this (expected).

<ac:emoticon ac:name="tick"/>

You then save/updated the page, the resulting HTML is (not the relative URL):

<img class="emoticon emoticon-tick" src="/s/en_GB/7202/6c904e4f5a39c86e66c532a52dd1b974dafdf733/_/images/icons/emoticons/check.png" data-emoticon-name="tick" alt="(tick)">

Now if you edit the page again, and then look at the source, the emoticon instance has changed to be an image.

<img alt="(tick)" border="0" class="emoticon emoticon-tick" src="http://dev.confluence.marketcomllc.com:8099/s/en_GB/7202/6c904e4f5a39c86e66c532a52dd1b974dafdf733/_/images/icons/emoticons/check.png" title="(tick)"/>

And the resulting HTML when viewed (not the full path on both)

<img class="emoticon emoticon-tick" title="(tick)" src="http://dev.confluence.marketcomllc.com:8099/s/en_GB/7202/6c904e4f5a39c86e66c532a52dd1b974dafdf733/_/images/icons/emoticons/check.png" alt="(tick)" border="0">

This can cause problems, like the one you are seeing or when generating a PDF.

If you file a case, please give me the number so I can chime in as well.

Bill Bailey
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
March 18, 2019

Turns out that this is a know issue. So please vote for the issue here: CONFSERVER-52441. And if your version isnt in the list, add a comment what version you are seeing the issue in.

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events