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

Code macro 2.0 - extra newline inserted

    XMLWordPrintable

Details

    • Unit
    • Unknown

    Description

      I'm using the code macro as follows:

      This statement, {{code language="c++"}}int number = 0;{{/code}}, is some example C++ code illustrating inline use of the code macro.
      

      This sentence renders with an extra newline after the code macro. However, when language="none" or no language attribute is used, no newline is inserted.

      Attachments

        Activity

          People

            tmortagne Thomas Mortagne
            factotum Joshua Rieken
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: