Forum Discussion

ScarySulley's avatar
ScarySulley
Occasional Contributor
6 months ago
Solved

Getting an error message when trying to leave a comment

I keep an error message when trying to post a reply:

Content Not Published
Your post contains invalid HTML. Remove the following invalid tags before publishing: a, a (data-airgap-id), li-user

  • The workaround is a real pain, but works consistently for me:

    1. edit your comment,
    2. unlink every link,
    3. save your unlinked comment,
    4. edit your comment,
    5. re-link all the former links, and
    6. save your comment.

     

    Last time I looked, I could not the original report of this bug from around the launch of the new Community. Sadly, this penalises folks who put the effort into properly linking resources in their posts.

10 Replies

  • nukmicah's avatar
    nukmicah
    Dedicated Contributor

    This happens to me constantly. Quite frustrating. Including on this comment, and in Microsoft Edge, and Vivaldi, and Google Chrome, oh the irony. Finally I got this to post after downloading and installing Firefox.

    Content Not Published
    Your post contains invalid HTML. Remove the following invalid tags before publishing:
    p (empty)

    Most of my posts include at least one hyperlink for reference, which I suppose exacerbates the problem, but clearly cannot be the only one since this comment has no hyperlinks. 

    I am very careful to click Ctrl+Shift+V to paste as plain text. Not only do I run into the issue when creating new posts, but sometimes I notice the hyperlink didn't add correctly on existing posts, and I run into the issue again when trying to edit the post to add the hyperlink. Sometimes I just give up and don't post at all, which is especially infuriating after I've already spent 20 minutes writing a thoughtful response.

    • 1P_SimonH's avatar
      1P_SimonH
      Icon for Community Manager rankCommunity Manager

      Hi nukmicah​,

      I'm sorry you're having to deal with this! If you happen to have any of your messages that have triggered the error in a text file, could you email us at mailto:community@1password.com with the text file as an attachment to see if we can find any clues what might be going on?

      • nukmicah's avatar
        nukmicah
        Dedicated Contributor

        Hi 1P_SimonH, I'm a little confused what you're asking. Are you saying my screenshot above doesn't make it clear, which has both the text contents and the error message visible?

    • AJCxZ0's avatar
      AJCxZ0
      Silver Expert

      My habit of correcting and clarifying my own posts is limited by this long-standing bug. If my post has more than three or four links and the correction or clarification isn't critical, then I won't bother due to the excessive effort needed to work around the bug.

  • 1P_SimonH's avatar
    1P_SimonH
    Icon for Community Manager rankCommunity Manager

    Hi ScarySulley​,

    Thanks for reporting this! Are you pasting your comment from elsewhere (like a Google Doc or Microsoft Word) into the 1Password Community? That's typically when we see this message.

    Generally the best bet is to write your message directly in the 1Password Community. If you prefer to use a different text editor, try pasting your message as plain text from that editor into the forum and then add any formatting or linking there. To paste as plain text, use Ctrl + Shift + V (Windows) or Cmd + Shift + V (Mac).

    Let me know if you're already doing this and still getting this error and I'm happy to investigate further.

    • ScarySulley's avatar
      ScarySulley
      Occasional Contributor

      Hi 1P_SimonH​,

      No, I write all comments directly here. I just posted another comment a few minutes ago and didn't get an error. Although I think I didn't include any links, besides the "@" username. If I receive the error message again, I'll let you know. Hopefully a pattern can be seen in what could be causing the error message.

      Thank you!

  • AJCxZ0's avatar
    AJCxZ0
    Silver Expert

    The workaround is a real pain, but works consistently for me:

    1. edit your comment,
    2. unlink every link,
    3. save your unlinked comment,
    4. edit your comment,
    5. re-link all the former links, and
    6. save your comment.

     

    Last time I looked, I could not the original report of this bug from around the launch of the new Community. Sadly, this penalises folks who put the effort into properly linking resources in their posts.

    • ScarySulley's avatar
      ScarySulley
      Occasional Contributor

      Glad to see I'm not the only one who's getting this error.

      I (somewhat) followed your steps and it seemed to work. Although I'm not sure if I did 100% right as I couldn't "edit" it as it had not been posted and I don't see a "save" function. But removing the links and relinking them allowed me to post the comment.

      Thanks, AJCxZ0​!