Uploaded image for project: 'XWiki Rendering'
  1. XWiki Rendering
  2. XRENDERING-322

Add support for character entities in XWiki Syntax

    XMLWordPrintable

Details

    • Improvement
    • Resolution: Unresolved
    • Major
    • None
    • 5.3-rc-1
    • Syntax - xwiki/2.2
    • None

    Description

      I would imagine something like:

      char:&entity_name;
      char:&#entity_number;
      

      I would use it to specify things like

      [[char:—]]
      

      to achieve '—', instead of writing

      {{html}}—{{/html}}
      

      Other popular entities:

      • Space
         
      • Ampersand &
        & &
      • Arrow ▾
        ▾
      • Section §
        § §
      • Euro €
        € €
      • Registered ®
        ® ®
      • etc.

      Character entity references are used normally for typographic use cases or instead of using an image replacement.

      See more entities:
      http://www.w3.org/wiki/Common_HTML_entities_used_for_typography
      http://www.alanwood.net/demos/ent4_frame.html
      http://www.unicode.org/charts/

      Attachments

        Activity

          People

            Unassigned Unassigned
            evalica Ecaterina Moraru (Valica)
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated: