Uploaded image for project: 'XWiki Platform'
  1. XWiki Platform
  2. XWIKI-1242

Horizontal Line XWiki syntax

    XMLWordPrintable

Details

    • Task
    • Resolution: Fixed
    • Minor
    • 1.4 M1
    • None
    • {Unused} Wiki features
    • None
    • Unit

    Description

      The horizontal line wiki markup is triggered by placing four or more consecutive dashes, surrounded by whitespace.
      It generates markup specifying that a horizontal line should be drawn; in XHTML the <hr> tag is used.

      Expected behavior:

      This is not -- a line  => This is not -- a line (todo: replace with &ndash;?)
      This is not --- a line  => This is not --- a line (todo: replace with &mdash;?)
      This is not----a line  => This is not----a line
      This is not ----a line  => This is not ----a line
      This is not---- a line  => This is not---- a line
      This is not a line----  => This is not a line----
      ----This is not a line  => ----This is not a line
      This is ----stroked----  => This is <del>--stroked--</del>
      This is ---- a line => This is <hr/> a line
      This is a line ---- => This is a line <hr/>
      this is a ------ line => this is a <hr/> line
      this is a ----------- long line => this is a <hr/> long line
      ---- => <hr/>
      ^    ----   $  => ^    <hr/>    $
      ^----    $ => ^<hr/>    $
      ^    ----$  => ^    <hr/>$
      ---- this is a list item => ...<li>This is a list item</li>...
      Ignore <a href="/somePageWith-----dashes">attributes</a> => Ignore <a href="/somePageWith-----dashes">attributes</a>
      Ignore <!----> short comments => Ignore <!----> short comments
      

      Attachments

        Issue Links

          Activity

            People

              sdumitriu Sergiu Dumitriu
              sdumitriu Sergiu Dumitriu
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: