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

ID macros generated from HTML anchors are not properly closed

    XMLWordPrintable

Details

    • Unit
    • Unknown

    Description

      When we convert this XHTML:

      <?xml version="1.0" encoding="UTF-8"?>
      <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
      <html><head></head><body><p>before<a name="uniqueId"></a>after</p></body></html>
      

      to XWiki 2.0 syntax we get:

      before{{id name="uniqueId"}}after
      

      As you can see the ID macro is not closed.

      Attachments

        Issue Links

          Activity

            People

              tmortagne Thomas Mortagne
              mflorea Marius Dumitru Florea
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: