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

       Web browser: ---
             Bug #: 41445
           Summary: Round-trip sanitized attribute values as wikitext
           Product: Parsoid
           Version: unspecified
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: Unprioritized
         Component: JS/General
        AssignedTo: [email protected]
        ReportedBy: [email protected]
                CC: [email protected], [email protected]
    Classification: Unclassified
   Mobile Platform: ---


https://gerrit.wikimedia.org/r/30313 adds a mechanism to preserve the wikitext
of attributes. This should be expanded to cover more attribute keys emitted in
the serializer, and should also be extended to cover values. See the comment in
line 293 in ext.core.LinkHandler.js for another use case.

Basically, make sure we don't round-trip to the output of tokensToString when
something is not preserved as-is because it contains non-text tokens.

-- 
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