Uploaded image for project: 'Confluence Data Center'
  1. Confluence Data Center
  2. CONFSERVER-14176

Em- and en-dashes can't occur right next to a word

    XMLWordPrintable

Details

    • Bug
    • Resolution: Duplicate
    • Medium
    • None
    • 2.10
    • None

    Description

      Given the following wiki source:

      Testing -- en
      Testing-- en
      Testing --en
      Testing--en
      

      You get the following output:

      Testing – en
      Testing-- en
      Testing --en
      Testing--en

      Only the first one is rendered correctly because the en-dash is not rendered if it occurs next to a word. This hinders using en-dashes where you normally would, like in a range (e.g. 1-5pm).

      The same problem happens with em-dashes, using three hyphens in the markup.

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              matt@atlassian.com Matt Ryall
              Votes:
              1 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: