https://bugzilla.wikimedia.org/show_bug.cgi?id=38734

       Web browser: ---
             Bug #: 38734
           Summary: Parsoid: Table roundtripping is completely tripped up
           Product: VisualEditor
           Version: unspecified
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: Unprioritized
         Component: Parser/Parsoid
        AssignedTo: [email protected]
        ReportedBy: [email protected]
                CC: [email protected], [email protected]
    Classification: Unclassified
   Mobile Platform: ---


Several issues:

* Ghost <nowiki></nowiki> tag pairs appearing

* Syntax being normalized

 1)
  ! foo !! bar !! baz
  becomes
  ! foo
  ! bar
  ! baz

  Both are the same but should roundtrip if possible.

 2)
  Row separators
  {|
  |-
  ! foo
  |-
  | bar
  |-
  |}
  becomes:

  {|
  ! foo
  |-
  | bar
  |}

  Although the first and last separator (|-) are optional, they should
roundtrip
  if possible.

 3) Syntax being broken due to new line insertion
  ! foo !! bar !! baz
  becomes:
  ! foo
  !! bar
  !! baz

  This is not just syntax appearance, this is actually broken. Because of the
new lines, the output of 3) is actually difference, because it will display the
second exclamation mark of each heading.



Example:
https://www.mediawiki.org/w/index.php?title=VisualEditor%3ADoom&diff=565804&oldid=565802

-- 
Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.

_______________________________________________
Wikibugs-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to