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

       Web browser: ---
             Bug #: 33151
           Summary: '''a''b'''c'' creates invalid html
           Product: MediaWiki extensions
           Version: any
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: Unprioritized
         Component: VisualEditor
        AssignedTo: [email protected]
        ReportedBy: [email protected]
                CC: [email protected], [email protected]
    Classification: Unclassified


Testcase: input abc, select ab and make it bold, select bc and make it italic.
wikitext (ok, can be handled by the parser): '''a''b'''c''
dom (ok, makes sense):

{ "type": "document", "children": [ { "type": "paragraph", "content": { "text":
"abc", "annotations": [ { "type": "textStyle/bold", "range": { "start": 0,
"end": 2 } }, { "type": "textStyle/italic", "range": { "start": 1, "end": 3 } }
] } } ] }

html (invalid): <p><b>a<i>b</b>c</i></p>

-- 
Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
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