Every time I edit a page, Confluence adds a bunch of HTML tags to my image subtitles:
I added none of these. Every time I edit the page, more appear and the subtitles become increasingly unreadable.
Things I have tried:
Backing-up @Caolan Radford on this.. no way this is working as-intended @Mia Tamm
Just created this page and added plaintext captions. After two edits it's a total mess
Submitted feedback regarding this as well since was not sure how to go about reporting this bug/issue. A colleague brought it up to my attention today and I tested in 2 separate workspaces. This appears to be an issue starting today as I did not encounter this issue yesterday when I was editing a page with an image that had a caption. The moment I edited the same page I was working on yesterday, it added the html paragraph tags (<p></p>) to all images on the page (existing and new ones). Making additional edits without clearing all the paragraph tags would add more escaped markup.
The following is basically what it ends up appearing as after saving despite when editing, the caption only read as "Interactive bar graph":
No amount of editing to try to manually remove the html tags will actually remove it since Confluence appears to automatically and continuously try to add additional paragraph tags to the caption.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
!! Dang.. Seeing as I am not an admin on our system, I don't have rights to open a support ticket?? This completely breaks old documents, making any editing impossible. The product is pretty unusable until this gets sorted
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I've asked support to become involved. Hopefully they will address this quickly.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Confluence is actually behaving as designed: the caption field is plain-text, so any <p>…</p> you type gets escaped to <p>…</p> and then wrapped in its own paragraph on save. There’s no “disable HTML escaping” toggle in Cloud or the new editor, so to keep your subtitles clean, here’s what I recommend:
Use this to flip between modes in the inspector
Unfortunately, in Cloud and in the new editor there’s no hidden switch to turn off escaping in captions. The simplest way is to lean on Confluence’s wiki markup or keep your caption as plain text—and let Confluence add that single clean <p> for you. Hope that helps!
— Mia Tamm from Simpleasyty
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
No you misunderstand. I did not add any tags. Confluence adds more every time I hit 'edit'. This happens on pages from years ago, if I hit edit, new tags appear and fail to get rendered properly, completely destroying readability on any page that has plain text captions that wants to get edited.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi @Caolan Radford — sorry for the frustration. Here’s the TL;DR:
Hope that makes things clearer—and keeps your captions clean going forward!
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I think its pretty clear this is a bug. Will await support. Not going to go editing years old captions to workaround this. Appreciate the effort tho!
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi @Caolan Radford —thanks for the update! You may well be right that this is a bug.
If you’d like, please reach out to Atlassian support so they can investigate and address it.
Thanks again for flagging this!
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.