Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Behind the Scenes
  3. Qt.io webservices
  4. Text is interpreted in code snippets
Forum Updated to NodeBB v4.3 + New Features

Text is interpreted in code snippets

Scheduled Pinned Locked Moved Qt.io webservices
3 Posts 2 Posters 1.6k Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • AlicemirrorA Offline
    AlicemirrorA Offline
    Alicemirror
    wrote on last edited by
    #1

    Hi to all,

    I continue experiencing that introducing code snippets in the posts text that should be left "as-is" is syntax-managed byt the editor. There is not a specific case, I think that there are some general syntax checking funcitons that will not be active in these pieces of code.

    As I find new specific cases I will add them to this thread.

    Enrico Miglino (aka Alicemirror)
    Balearic Dynamics
    Islas Baleares, Ibiza (Spain)
    www.balearicdynamics.com

    1 Reply Last reply
    0
    • L Offline
      L Offline
      lgeyer
      wrote on last edited by
      #2

      Do you mean something like this?

      Original. Spaces added around < and > to avoid broken formatting. Newlines at the end of every line.

      < product >
      < name >Product A< /name >
      < property type="A" >Property A< /property >
      < /product >

      No enclosure.

      <product>
      <name>Product A</name>
      <property type="A">Property A</property>
      </product>

      Quote enclosure.

      bq. <product>
      <name>Product A</name>
      <property type="A">Property A</property>
      </product>

      Code enclosure.

      @
      <product>
      <name>Product A</name>
      <property type="A">Property A</property>
      </product>
      @

      All cases are broken in the post editor and the post preview (product and property tags are removed). Just quote this post and preview the reply.

      1 Reply Last reply
      0
      • AlicemirrorA Offline
        AlicemirrorA Offline
        Alicemirror
        wrote on last edited by
        #3

        I have done.

        This I had not find yet ... So this will be added to others I saw. This is like magic :D

        Enrico Miglino (aka Alicemirror)
        Balearic Dynamics
        Islas Baleares, Ibiza (Spain)
        www.balearicdynamics.com

        1 Reply Last reply
        0

        • Login

        • Login or register to search.
        • First post
          Last post
        0
        • Categories
        • Recent
        • Tags
        • Popular
        • Users
        • Groups
        • Search
        • Get Qt Extensions
        • Unsolved