bsoun / bang-search

Plugin to perform websearch from Sublime Text
MIT License
2 stars 0 forks source link

[Bug] Quotes in selection #6

Open Kristinita opened 7 years ago

Kristinita commented 7 years ago

1. Summary

If I select text with 2 quotes, text doesn't open in browser.

2. Settings

Operating system and version: Windows 10 Enterprise LTSB 64-bit EN Sublime Text: Build 3126 Package: The latest stable version of CSS-To-Stylus for Sublime Text 3 Browser: 53.0.3 (64-bit)

My bang_search.sublime-settings file:

{
    "definitions": {
            "&g.ru": {
            "type": "qwant",
            "caption": "Google Russia"
        },
     }
}

My User/Default (Windows).sublime-keymap file:

[
    {
      "keys": ["ctrl+super+enter"],
      "command": "bang_search",
      "args": {"search_method": "&g.ru"}
    },
]

My SashaBeautiful.md file:

"Sasha "Miracle""

3. Steps to reproduce

I reproduce the problem in a version of Sublime Text without plugins and user settings.

  1. I select Sasha
  2. I select "Sasha "Miracle""

→ I press Ctrl+Super+Enter.

4. Expected behavior

If I select Sasha, Sasha word open in Google.

5. Actual behavior

If I select "Sasha "Miracle"", "Sasha "Miracle"" phrase doesn't open in Google.

Thanks.

Kristinita commented 6 years ago

Status: :grey_exclamation: Reproduced in April 2018

Thanks.