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

Ctrl- followed by heading creates invalid html

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Minor
    • 1.7 M2
    • 1.5.1
    • {Unused} Rendering 1.0
    • None

    Description

      The following markup

      Ctrl-
      
      1.1 Heading
      

      results in the following html:

      <span class="key">Ctrl-<p>
      </p><h3> class="heading-1-1" id="HHeading"&gt;<span>Heading</span></h3><p>
      

      Note the extra closing > in the first h3 tag.

      A variation is

      Ctrl-F
      
      1.1 Heading
      

      which creates

      <span class="key">Ctrl-F<p/>
      <h3</span> class="heading-1-1" id="HHeading"><span>Heading</span></h3>
      

      I'm using the XWiki 1.0 syntax.

      Attachments

        Activity

          People

            vmassol Vincent Massol
            rombert Robert Munteanu
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: