[GH-ISSUE #5462] [bug]: Response body search bar doesn't handle double quotes well #2095

Open
opened 2026-03-16 23:11:20 +03:00 by kerem · 3 comments
Owner

Originally created by @pmondal-int on GitHub (Oct 7, 2025).
Original GitHub issue: https://github.com/hoppscotch/hoppscotch/issues/5462

Is there an existing issue for this?

  • I have searched existing issues and this bug hasn't been reported yet

Platform

Desktop App

Browser

Chrome

Operating System

macOS

Bug Description

What Happened

When I try to search something in the response body that has quotes, it seems that the search bar has some “rich text” functionality which sets a basic double quote character into the rich text quotation. This is causing the search bar to find no results, even though there clearly are

Steps to reproduce

  1. Call an API that responds with some JSON body
  2. Click on the response text box
  3. Command + f to open search
  4. Type just a plaintext double quote
  5. See that it does search properly and finds instances of the double quote
  6. After the double quote, type any letter
  7. See that the double quote in the search bar is now converted to the special italicized “rich text” quote
  8. Also see that it no longer can find any matches since it’s looking for the wrong quote type

I noticed that if I do " followed by characters then it converts it into fancy quotes, but if I write out characters, and then add in " then it doesn't convert it.

Searching just ":
Image

Searching "head:
Image

Deployment Type

Self-hosted (on-prem deployment)

Version

2025.8.1

Originally created by @pmondal-int on GitHub (Oct 7, 2025). Original GitHub issue: https://github.com/hoppscotch/hoppscotch/issues/5462 ### Is there an existing issue for this? - [x] I have searched existing issues and this bug hasn't been reported yet ### Platform Desktop App ### Browser Chrome ### Operating System macOS ### Bug Description ## What Happened When I try to search something in the response body that has quotes, it seems that the search bar has some “rich text” functionality which sets a basic double quote character into the rich text quotation. This is causing the search bar to find no results, even though there clearly are ## Steps to reproduce 1. Call an API that responds with some JSON body 2. Click on the response text box 3. Command + f to open search 4. Type just a plaintext double quote 5. See that it does search properly and finds instances of the double quote 6. After the double quote, type any letter 7. See that the double quote in the search bar is now converted to the special italicized “rich text” quote 8. Also see that it no longer can find any matches since it’s looking for the wrong quote type I noticed that if I do `"` followed by characters then it converts it into fancy quotes, but if I write out characters, and then add in `"` then it doesn't convert it. Searching just `"`: <img width="1128" height="563" alt="Image" src="https://github.com/user-attachments/assets/ab25ee3f-22bb-4f35-adbe-d36f621d10bc" /> Searching `"head`: <img width="1112" height="570" alt="Image" src="https://github.com/user-attachments/assets/2c2a3837-0140-4eb1-823e-7497db5d4c4c" /> ### Deployment Type Self-hosted (on-prem deployment) ### Version 2025.8.1
Author
Owner

@Nilakshhh commented on GitHub (Oct 8, 2025):

Hello Maintainers, I was able to replicate the issue. Can I work on this under hacktober fest? Thankyou

<!-- gh-comment-id:3380265311 --> @Nilakshhh commented on GitHub (Oct 8, 2025): Hello Maintainers, I was able to replicate the issue. Can I work on this under hacktober fest? Thankyou
Author
Owner

@liyasthomas commented on GitHub (Oct 8, 2025):

I’m afraid I can’t reproduce this behavior on my end. Could you please tell me what operating system you’re using? I’ve tried searching for "head and got the expected results.

Image

The feature called “smart quotes” or “typographer’s quotes” automatically converts double quotes to curly quotes. This feature is enabled by default in many word processors and operating systems. It improves typography by replacing straight, generic quotation marks (“, ‘) with directional, curved quotation marks (“, ”).

If this is the case, you can either disable this feature from our operating system or whitelist Hoppscotch from the feature.

<!-- gh-comment-id:3381136066 --> @liyasthomas commented on GitHub (Oct 8, 2025): I’m afraid I can’t reproduce this behavior on my end. Could you please tell me what operating system you’re using? I’ve tried searching for `"head` and got the expected results. <img width="920" height="519" alt="Image" src="https://github.com/user-attachments/assets/0b943e42-eaf8-4005-a8b9-ecfc4262d212" /> --- > _The feature called “smart quotes” or “typographer’s quotes” automatically converts double quotes to curly quotes. This feature is enabled by default in many word processors and operating systems. It improves typography by replacing straight, generic quotation marks (“, ‘) with directional, curved quotation marks (“, ”)._ If this is the case, you can either disable this feature from our operating system or whitelist Hoppscotch from the feature.
Author
Owner

@pmondal-int commented on GitHub (Oct 8, 2025):

@liyasthomas I'm using MacOS 15.6.1

<!-- gh-comment-id:3382330894 --> @pmondal-int commented on GitHub (Oct 8, 2025): @liyasthomas I'm using MacOS 15.6.1
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/hoppscotch#2095
No description provided.