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

            Bug ID: 66203
           Summary: Hovercards: Regex for title bolding in popup doesn't
                    escape title
           Product: MediaWiki extensions
           Version: unspecified
          Hardware: All
                OS: All
            Status: NEW
          Severity: minor
          Priority: Unprioritized
         Component: Popups
          Assignee: [email protected]
          Reporter: [email protected]
                CC: [email protected], [email protected]
       Web browser: ---
   Mobile Platform: ---

Created attachment 15571
  --> https://bugzilla.wikimedia.org/attachment.cgi?id=15571&action=edit
"C" in "ANSI C" is bolded, but not "C*"

In ext.popups.renderer.article.js, the article.getProcessedHtml function bolds
instances of the article title. However, it doesn't escape the title text
provided to the regex it uses to search, and some titles contain regex syntax,
causing odd results.

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