enterprisemediawiki / HeaderFooter

Add common headers and footers to MediaWiki pages
http://www.mediawiki.org/wiki/Extension:Header_Footer
6 stars 18 forks source link

Invalid CSS selectors in page names break async header/footer #20

Open jamesmontalvo3 opened 6 years ago

jamesmontalvo3 commented 6 years ago

A page name including characters invalid in a CSS selector (for example, &) will generate an div element like:

<div class="hf-footer" id="hf-footer-Page_with_&_in_title">...</div>

This is a bad selector. Instead do something like md5 the page title to make it standard characters.