Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

How to have a character entity render as an entity, not as the encoded character, in the wiki

Robin Dunford
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!
September 20, 2018

We have a Jira site that we use to track tickets related to XML-manipulation software, and when we set it up we reluctantly switched off the wiki renderer because we could not find a way to have an entity (e.g. ISO or Unicode) render as the entity code, not as the glyph itself. For instance, if we type "&" we want that to appear, not "&" (in case this renders the entity, we want "& amp;" but without a space in it).

We've tried everything we can think of, using a code block or the code text format, even typing "&" to try to fool the renderer, but nothing works. Even that last string is converted to "&" - that's just wrong!

Is there a simple way that we can force the renderer to show the code for the entity, and not the rendered glyph? There are so many other great things about the wiki renderer that we really want to solve this.

1 answer

0 votes
Petter Gonçalves
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
October 3, 2018

Hello Robin,

Unfortunately, there's no way to escape the behavior you are facing regarding the ampersand in JIRA.

We have reported a bug for it before, however, our developers have received a lot of customers complaining that the entities are "passed through" by the wiki renderer, so they left it like it was before: 

https://jira.atlassian.com/browse/JRASERVER-10967

My recommendation if you don't want to deactivate the Wiki Renderer is to use the preformatted feature like this:

{noformat}
&
{noformat}

So the entity will appear like this:

&

 

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events