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

XMLWordPrintable

    • Type: Bug
    • Resolution: Duplicate
    • Priority: Medium
    • None
    • Affects Version/s: 2.10
    • Component/s: None

      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.

              Assignee:
              Unassigned
              Reporter:
              Matt Ryall
              Votes:
              1 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: