• Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Medium Medium
    • 2.5
    • 2.2.10
    • None
    • Tomcat/JDK1.5

      This may be related to known issues regarding macros and Rich text editing.

      To Reporduce:

      1. Create a simple macro : <b>$body</b>

      2. Create a simple Wiki page :

      Some text

      {test}text in a macro{test}

      Some more text

      3. Save. Re-open in Rich Text Editor (RTE). Save. Open as Wiki Markup

      Some text

      {test}text in a macro{test}


      Some more text

      4. Save. Re-open in Rich Text Editor (RTE). Save. Open as Wiki Markup

      Some text

      {test}text in a macro{test}




      Some more text

      Subsequent iterations keep introducing more new lines.

      Attached picture shows how the rendered content gets worse.

        1. problem.gif
          315 kB
          Matthew Muller

            [CONFSERVER-7628] Rich Text Editor changes spacing around user-macros

            Not all the problems with the WYSIWYG editor adding newlines around macros have been solved. I just filed CONF-8900 demonstrating a problem that still exists in version 2.5.4.

            Allan Pratt added a comment - Not all the problems with the WYSIWYG editor adding newlines around macros have been solved. I just filed CONF-8900 demonstrating a problem that still exists in version 2.5.4.

            Tom Davies added a comment -

            Yes, open a separate issue.

            Tom Davies added a comment - Yes, open a separate issue.

            Thanks Tom.

            Should I open a ticket with the formatting bug?

            Juan Alonso added a comment - Thanks Tom. Should I open a ticket with the formatting bug?

            Tom Davies added a comment -

            I'm not sure when this was fixed (note, the formatting with the sql macro hasn't been fixed) but it is fixed in 2.5.

            Tom Davies added a comment - I'm not sure when this was fixed (note, the formatting with the sql macro hasn't been fixed) but it is fixed in 2.5.

            This is a very uncomfortable problem. Another example of where this happens:

            {{
            Datos actualizados por última vez

            {sql:datasource=laflechaDS|output=html|table=false}select created_on from comments order by id desc limit 1;{sql}

            .
            }}

            After switching from wiki markup mode to wysiwyg this is what happens:

            {{
            Datos actualizados por última vez

            {sql:datasource=laflechaDS|output=html|table=false}select created_on from comments order by id desc limit 1;{sql}

            .
            }}

            Which is a little bit annoying.

            Juan Alonso added a comment - This is a very uncomfortable problem. Another example of where this happens: {{ Datos actualizados por última vez {sql:datasource=laflechaDS|output=html|table=false}select created_on from comments order by id desc limit 1;{sql} . }} After switching from wiki markup mode to wysiwyg this is what happens: {{ Datos actualizados por última vez {sql:datasource=laflechaDS|output=html|table=false}select created_on from comments order by id desc limit 1;{sql} . }} Which is a little bit annoying.

              Unassigned Unassigned
              cecd0685f842 Matthew Muller
              Affected customers:
              4 This affects my team
              Watchers:
              3 Start watching this issue

                Created:
                Updated:
                Resolved: