https://bugzilla.wikimedia.org/show_bug.cgi?id=31171
Web browser: ---
Bug #: 31171
Summary: Using '#' as a token identifier in RapidHTML has
severe CSS and JS implications
Product: MediaWiki extensions
Version: any
Platform: All
OS/Version: All
Status: NEW
Severity: normal
Priority: Unprioritized
Component: DonationInterface
AssignedTo: [email protected]
ReportedBy: [email protected]
CC: [email protected], [email protected]
Classification: Unclassified
The RapidHTML tokens starting with '#' clobber ID selection with the token
name.
e.g. The #amount token clobbers the following CSS and jQuery commands:
#amountTable { /* ... */ }
$("#amountTable")
Proposed fix, find a new token identifier that does not clash with
PHP/HTML/CSS/JS or find another way to to the str_replace
--
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