Strikethrough format uses incorrect XHTML when migrated from wiki markup

XMLWordPrintable

    • Type: Bug
    • Resolution: Won't Fix
    • Priority: Low
    • None
    • Affects Version/s: 4.0, 4.1, 4.2
    • Component/s: None

      Text with the format strikethrough, which has been migrated from a version using wiki markup (previous to 4.0) does not change its format when you select it and select the option strikethrough.

      Repro steps:

      1. In a confluence 3.x create a page with some text with the format strikethrough (i.e.: fred)
      2. Upgrade to confluence to 4.x
      3. Edit the previous page, select the strikethrough text (fred) and click in the formatting option strikethrough. The format will not work.

      To make it more easy to reproduce I have attached a space xml backup with a test page showing the issue.

      The problem is the different format used for new added text and for migrated text. Migrated text is stored like

      <span style="text-decoration: line-through;">Crossed out text</span>
      

      while text created in 4.x is stored like

      <s>fred</s>
      

      Workaround
      Use the button Clear Formatting instead. This will clear any other existing format.

              Assignee:
              Steve Haffenden (Inactive)
              Reporter:
              Alejandro Conde Carrillo (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: