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

       Web browser: ---
            Bug ID: 55582
           Summary: <bdo> is accepted in wikitext, but its "dir" attribute
                    is not
           Product: MediaWiki
           Version: unspecified
          Hardware: All
                OS: All
            Status: NEW
          Severity: normal
          Priority: Unprioritized
         Component: Parser
          Assignee: [email protected]
          Reporter: [email protected]
    Classification: Unclassified
   Mobile Platform: ---

includes/Sanitizer.php currently includes, in lines 1520/1521:

# 8.2.4
# bdo

Maybe the intention was to not accept the <bdo> element? But then, in lines
399-403 there is:

  $htmlnest = array( [...], 'bdo' );

The result is that the <bdo> element is accepted, but its "dir" attribute is
dropped. This is not logical at all because the whole point of the <bdo>
element is to specify a "dir" attribute. It is actually required in HTML5:
http://www.whatwg.org/specs/web-apps/current-work/multipage/text-level-semantics.html#the-bdo-element

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