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:
Welcome to Atlassian community!
I see that when editing a confluence page, the image captions are rendering HTML tags in your instance.
I tried to replicate the issue from my end and I was unable to replicate the issue since the added images and their captions are working fine at my end.
In this we might need to investigate further for verifying the page content and the attachments by replicating the issue on your instance.
Since you are not an admin, can you advise one of your admins to raise a support request here https://support.atlassian.com/ so that we can assist you further.
Best Regards,
Vishalakshi Narayanaswamy
I suppose the issue appears to be resolved now? Although it appears this is at the cost of needing to go back and manually edit pages again that previously had this issue to remove all the existing HTML tags and any escaped markup, if any, and resave.
Saving now, does not appear to automatically add any of the initial paragraph tags anymore at least.
Thank you for this follow up post!
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
It’s all good. If it was worth their time, I’m sure they would’ve logged it already. Maybe let regular users report bugs instead?
Anyway, looks like the issue’s fixed — I can remove tags now and they stay gone. Appreciate that!
Also, kinda weird that you’re comfortable posting random admin emails in a public forum?? Can you remove them from your comment? Feels like you’re playing it a little fast and loose with private data there, no?
I don’t want to endorse an answer that exposes private information. Thanks.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Appreciate the edit!
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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.
I do not have rights to create a support ticket because I am not an admin, this post is the best I can do as far as I know
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.