Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-126994

[DocBook] Too much escaping in code

    XMLWordPrintable

Details

    • 4960d7224 (dev), ee60bb0ce (6.8)
    • DaVinci 102

    Description

      Quotes are too much escaped in code blocks. For instance, json.xml:

      {{{

      <db:para>A simple JSON document encoding a person, his/her age, address and phone numbers could look like:</db:para>
      <db:programlisting language="cpp">{
      "FirstName": "John",
      "LastName": "Doe",
      "Age": 43,
      "Address":

      { "Street": "Downing Street 10", "City": "London", "Country": "Great Britain" }

      ,
      "Phone numbers": [
      "+44 1234567",
      "+44 2345678"
      ]
      }}}

       

      Or in 04-qdoc-commands-textmarkup.xml:

       

      {{{

      <db:para>For example, we might want to render an inline image so that it floats to the right of the current block of text:</db:para> <db:programlisting language="cpp" role="bad">/*!     \div

      {class="float-right"}

              \inlineimage qml-column.png
          \enddiv
      */
      </db:programlisting>

      }}}

      Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            paulwicking Paul Wicking
            dourouc05_ Thibaut Cuvelier
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes