Bug - Notes field doesn't parse \ correctly

Options
murdof
murdof
Community Member
edited February 2022 in Windows

EDITED due to website bug (that affects 1Password as well)

Steps to reproduce:

  1. Create a new item
  2. Add a notes field
  3. Add the following in the notes field: "test \ -test" (do not add the spaces)

  4. Save it

  5. It now shows up as "test-test" instead of "test \ -test". (without the spaces)

  6. If you Edit it you can see the correct value "test - test" (without the spaces)

How much do I get from the bug bounty program? :smile:


1Password Version: Not Provided
Extension Version: Not Provided
OS Version: Not Provided

Comments

  • murdof
    murdof
    Community Member
    Options

    Hahahahaha - the forum has the same problem!

    So backlashes are not parsed correctly on the forum either!

    I'm trying to type test \ - test (without spaces)

  • murdof
    murdof
    Community Member
    Options

    This is my post before the editing - just to demonstrate the bug on the forum here as well:

  • MrC
    MrC
    Volunteer Moderator
    Options

    This is a test backslash test:

    test\-test

    Backslashes require being doubled, to get one. Backslash is an escape character here.

  • Well spotted, @MrC! You are indeed correct.

    @murdof the backslash here is being treated as an escape character - meaning that it invokes some alternate meaning for the characters that come after it (if you're curious to know more, there are some good videos on YouTube which can explain in brief 👍).

    Per MrC's advice, you can put in two backslashes here to produce one. Does that work for your needs?

  • murdof
    murdof
    Community Member
    edited February 2022
    Options

    The report is about the notes field in 1Password application that parses that wrong

    This issue didn’t exist for sure in the past.
    I have a user account in my notes which I often copy pasted and it was being displayed correctly
    The format was domain\-username-b

    In order to copy paste it now from the 1Password application in windows I need to go in edit mode first.

  • MrC
    MrC
    Volunteer Moderator
    Options

    @murdof

    Which version of 1Password are you using?

    It is working fine for me on version 7.9.828.

  • murdof
    murdof
    Community Member
    Options

    I'm using 1Password 8 - not 7...

    This is the view mode (backslash doesn't exist):

    This is the edit mode (backslash exists):

  • Hey @murdof, thanks for the screenshots! 1Password 8 has added support for Markdown formatting which is resulting in the behaviour you're seeing. You can learn more about Markdown formatting here: Format your secure notes with Markdown

    To turn off Markdown formatting, click the three dots in the top left (...), then click Settings > General and uncheck "Format secure notes using Markdown".

    That should return things to the behaviour you're expecting. Let me know how that goes!

    Ali

  • murdof
    murdof
    Community Member
    Options

    Thanks @ali.hazime

    That worked!

  • You're most welcome @murdof, glad to hear that worked!

    Let us know if there's anything else we can help with. Thanks!

This discussion has been closed.