Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. Other Discussions
  3. Site Bugs / Suggestions
  4. Pasting in the editor a link which contains underscores may cut off the part after the underscore - underscores are very common to wikipedia links...

Pasting in the editor a link which contains underscores may cut off the part after the underscore - underscores are very common to wikipedia links...

Scheduled Pinned Locked Moved Site Bugs / Suggestions
5 Posts 3 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • A Offline
    A Offline
    Andreas Gieriet
    wrote on last edited by
    #1

    [EDIT] It seems not being related to underscores but to some length calculation based on the selected text while pasting... [/EDIT] When pasting a link that contains underscores works fine if no text is pre-selected in the editor. But if you have a text pre-selected in the editor and than paste the copied link, the link gets cut off after the underscore. This leads to undesired wrong references. E.g. I had "Syntactic Sugar" selected in the editor and pasted the link http://en.wikipedia.org/wiki/Syntactic_sugar. The resulting link got

    http://en.wikipedia.org/wiki/Syntactic\_

    instead of

    http://en.wikipedia.org/wiki/Syntactic\_**sugar**

    This is a bit annoying since such cut off links usually go undetected into the posts. Cheers Andi

    M R 2 Replies Last reply
    0
    • A Andreas Gieriet

      [EDIT] It seems not being related to underscores but to some length calculation based on the selected text while pasting... [/EDIT] When pasting a link that contains underscores works fine if no text is pre-selected in the editor. But if you have a text pre-selected in the editor and than paste the copied link, the link gets cut off after the underscore. This leads to undesired wrong references. E.g. I had "Syntactic Sugar" selected in the editor and pasted the link http://en.wikipedia.org/wiki/Syntactic_sugar. The resulting link got

      http://en.wikipedia.org/wiki/Syntactic\_

      instead of

      http://en.wikipedia.org/wiki/Syntactic\_**sugar**

      This is a bit annoying since such cut off links usually go undetected into the posts. Cheers Andi

      M Offline
      M Offline
      Manfred Rudolf Bihy
      wrote on last edited by
      #2

      Same here with a link I posted in an answer to a question in Q&A: http://en.wikipedia.org/wiki/Short-circuit_evaluation[^] The "evaluation" part after the underscored gets cut off. The following was the link I posted:

      http://en.wikipedia.org/wiki/Short-circuit\_evaluation

      [Modified]Here the link insertion seems to have worked correctly.[/Modified] :confused: Cheers!

      "I had the right to remain silent, but I didn't have the ability!"

      Ron White, Comedian

      A 1 Reply Last reply
      0
      • M Manfred Rudolf Bihy

        Same here with a link I posted in an answer to a question in Q&A: http://en.wikipedia.org/wiki/Short-circuit_evaluation[^] The "evaluation" part after the underscored gets cut off. The following was the link I posted:

        http://en.wikipedia.org/wiki/Short-circuit\_evaluation

        [Modified]Here the link insertion seems to have worked correctly.[/Modified] :confused: Cheers!

        "I had the right to remain silent, but I didn't have the ability!"

        Ron White, Comedian

        A Offline
        A Offline
        Andreas Gieriet
        wrote on last edited by
        #3

        If you first enter the text, like Short Circuit Evaluation, then select that text and only then paste the copied link, the part *after* the underscore gets cut off. E.g. Short Circuit Evaluation[^]. Oh, I just noticed that the suspicion that it has to do with underscore is wrong! It seems to be some length calculation based on the selected text. See the link: it is cut like this:

        http://en.wikipedia.org/wiki/Short-circuit\_e

        instead of the full link

        http://en.wikipedia.org/wiki/Short-circuit\_e**valuation**

        Cheers Andi

        1 Reply Last reply
        0
        • A Andreas Gieriet

          [EDIT] It seems not being related to underscores but to some length calculation based on the selected text while pasting... [/EDIT] When pasting a link that contains underscores works fine if no text is pre-selected in the editor. But if you have a text pre-selected in the editor and than paste the copied link, the link gets cut off after the underscore. This leads to undesired wrong references. E.g. I had "Syntactic Sugar" selected in the editor and pasted the link http://en.wikipedia.org/wiki/Syntactic_sugar. The resulting link got

          http://en.wikipedia.org/wiki/Syntactic\_

          instead of

          http://en.wikipedia.org/wiki/Syntactic\_**sugar**

          This is a bit annoying since such cut off links usually go undetected into the posts. Cheers Andi

          R Offline
          R Offline
          Rage
          wrote on last edited by
          #4

          I have already reported that, like, months ago, and Chris put it on the "CheckWhatReallyHappensAndFixIt" list, which is to be addressed after all items on the "ToDoListOfImportantThings" are done.

          ~RaGE();

          I think words like 'destiny' are a way of trying to find order where none exists. - Christian Graus Do not feed the troll ! - Common proverb

          A 1 Reply Last reply
          0
          • R Rage

            I have already reported that, like, months ago, and Chris put it on the "CheckWhatReallyHappensAndFixIt" list, which is to be addressed after all items on the "ToDoListOfImportantThings" are done.

            ~RaGE();

            I think words like 'destiny' are a way of trying to find order where none exists. - Christian Graus Do not feed the troll ! - Common proverb

            A Offline
            A Offline
            Andreas Gieriet
            wrote on last edited by
            #5

            Thanks for your info. Did not see any of these lists, though ;-) As long as I know how to workaround (I know: don't paste a link while text is selected and/or double-check the link after pasting), I'm fine if it never gets fixed... Cheers Andi

            1 Reply Last reply
            0
            Reply
            • Reply as topic
            Log in to reply
            • Oldest to Newest
            • Newest to Oldest
            • Most Votes


            • Login

            • Don't have an account? Register

            • Login or register to search.
            • First post
              Last post
            0
            • Categories
            • Recent
            • Tags
            • Popular
            • World
            • Users
            • Groups